home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•Star Fleet HQ•
/
Star Patrol ••••
/
Star Patrol ееее.rsrc
/
CODE_1_Main.txt
< prev
next >
Wrap
Text File
|
1990-02-12
|
124KB
|
2,331 lines
# near model CODE resource
# jump table entries: 0-98 (99 of them)
fn00000000:
00000000 4E56 0000 link A6, 0
00000004 48E7 3030 movem.l -[A7], D2,D3,A2,A3
00000008 262E 0008 move.l D3, [A6 + 0x8]
0000000C 266E 000C movea.l A3, [A6 + 0xC]
00000010 242E 0010 move.l D2, [A6 + 0x10]
00000014 4EAD 1AEA jsr [A5 + 0x1AEA /* export_857 */]
00000018 206D FA90 movea.l A0, [A5 - 0x570]
0000001C 2083 move.l [A0], D3
0000001E 7001 moveq.l D0, 0x01
00000020 4AB8 0316 tst.l [0x00000316 /* HpChk/MacPgm */]
00000024 6700 0036 beq +0x38 /* 0000005C */
00000028 0838 0000 0319 btst.b [0x00000319], 0x0
0000002E 6600 002C bne +0x2E /* 0000005C */
00000032 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00000036 0C90 4D50 474D cmpi.l [A0], 0x4D50474D /* 'MPGM' */
0000003C 6600 001E bne +0x20 /* 0000005C */
00000040 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00000044 4AA8 0004 tst.l [A0 + 0x4]
00000048 6700 0012 beq +0x14 /* 0000005C */
0000004C 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00000050 2268 0004 movea.l A1, [A0 + 0x4]
00000054 4A51 tst.w [A1]
00000056 6700 0004 beq +0x6 /* 0000005C */
0000005A 7000 moveq.l D0, 0x00
label0000005C:
0000005C 2B40 FAAE move.l [A5 - 0x552], D0
00000060 4AAD FAAE tst.l [A5 - 0x552]
00000064 6700 0058 beq +0x5A /* 000000BE */
00000068 41F8 0910 lea.l A0, [0x00000910 /* CurApName */]
0000006C 43ED FA56 lea.l A1, [A5 - 0x5AA]
00000070 7010 moveq.l D0, 0x10
label00000072:
00000072 32D8 move.w [A1]+, [A0]+
00000074 51C8 FFFC dbf D0, -0x6 /* 00000072 */
00000078 206D FA80 movea.l A0, [A5 - 0x580]
0000007C 43ED FA56 lea.l A1, [A5 - 0x5AA]
00000080 2089 move.l [A0], A1
00000082 4AAE 0018 tst.l [A6 + 0x18]
00000086 660C bne +0xE /* 00000094 */
00000088 206D FA80 movea.l A0, [A5 - 0x580]
0000008C 2F10 move.l -[A7], [A0]
0000008E 4EBA 0210 jsr [PC + 0x210 /* 000002A0 */]
00000092 588F addq.l A7, 4
label00000094:
00000094 200B move.l D0, A3
00000096 6704 beq +0x6 /* 0000009C */
00000098 7001 moveq.l D0, 0x01
0000009A 2680 move.l [A3], D0
label0000009C:
0000009C 4A82 tst.l D2
0000009E 6706 beq +0x8 /* 000000A6 */
000000A0 2042 movea.l A0, D2
000000A2 20AD FA80 move.l [A0], [A5 - 0x580]
label000000A6:
000000A6 4AAE 0014 tst.l [A6 + 0x14]
000000AA 6708 beq +0xA /* 000000B4 */
000000AC 206E 0014 movea.l A0, [A6 + 0x14]
000000B0 20AD FA84 move.l [A0], [A5 - 0x57C]
label000000B4:
000000B4 7001 moveq.l D0, 0x01
000000B6 2B40 FAAE move.l [A5 - 0x552], D0
000000BA 6000 0114 bra +0x116 /* 000001D0 */
label000000BE:
000000BE 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
000000C2 2268 0004 movea.l A1, [A0 + 0x4]
000000C6 3011 move.w D0, [A1]
000000C8 B06D FA7A cmp.w D0, [A5 - 0x586]
000000CC 670C beq +0xE /* 000000DA */
000000CE 2F3C 8000 0000 move.l -[A7], 0x80000000
000000D4 4EBA 012C jsr [PC + 0x12C /* 00000202 */]
000000D8 588F addq.l A7, 4
label000000DA:
000000DA 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
000000DE 2268 0004 movea.l A1, [A0 + 0x4]
000000E2 41ED FA7A lea.l A0, [A5 - 0x586]
000000E6 2348 0024 move.l [A1 + 0x24], A0
000000EA 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
000000EE 2B68 0004 FA9E move.l [A5 - 0x562], [A0 + 0x4]
000000F4 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
000000F8 2268 0004 movea.l A1, [A0 + 0x4]
000000FC 2B69 0002 FA7C move.l [A5 - 0x584], [A1 + 0x2]
00000102 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00000106 2268 0004 movea.l A1, [A0 + 0x4]
0000010A 2B69 0006 FA80 move.l [A5 - 0x580], [A1 + 0x6]
00000110 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00000114 2268 0004 movea.l A1, [A0 + 0x4]
00000118 2B69 000A FA84 move.l [A5 - 0x57C], [A1 + 0xA]
0000011E 4AAE 0018 tst.l [A6 + 0x18]
00000122 672C beq +0x2E /* 00000150 */
00000124 246D FA80 movea.l A2, [A5 - 0x580]
00000128 600A bra +0xC /* 00000134 */
label0000012A:
0000012A 2F12 move.l -[A7], [A2]
0000012C 4EBA 0140 jsr [PC + 0x140 /* 0000026E */]
00000130 588F addq.l A7, 4
00000132 588A addq.l A2, 4
label00000134:
00000134 4A92 tst.l [A2]
00000136 6600 FFF2 bne -0xC /* 0000012A */
0000013A 246D FA84 movea.l A2, [A5 - 0x57C]
0000013E 600A bra +0xC /* 0000014A */
label00000140:
00000140 2F12 move.l -[A7], [A2]
00000142 4EBA 012A jsr [PC + 0x12A /* 0000026E */]
00000146 588F addq.l A7, 4
00000148 588A addq.l A2, 4
label0000014A:
0000014A 4A92 tst.l [A2]
0000014C 6600 FFF2 bne -0xC /* 00000140 */
label00000150:
00000150 200B move.l D0, A3
00000152 6704 beq +0x6 /* 00000158 */
00000154 26AD FA7C move.l [A3], [A5 - 0x584]
label00000158:
00000158 4A82 tst.l D2
0000015A 6706 beq +0x8 /* 00000162 */
0000015C 2042 movea.l A0, D2
0000015E 20AD FA80 move.l [A0], [A5 - 0x580]
label00000162:
00000162 4AAE 0014 tst.l [A6 + 0x14]
00000166 6708 beq +0xA /* 00000170 */
00000168 206E 0014 movea.l A0, [A6 + 0x14]
0000016C 20AD FA84 move.l [A0], [A5 - 0x57C]
label00000170:
00000170 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00000174 2268 0004 movea.l A1, [A0 + 0x4]
00000178 4AA9 0020 tst.l [A1 + 0x20]
0000017C 674C beq +0x4E /* 000001CA */
0000017E 4878 0078 push.l 0x78 /* 'x' */
00000182 4EBA 00E0 jsr [PC + 0xE0 /* 00000264 */]
00000186 2B40 FA9A move.l [A5 - 0x566], D0
0000018A 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
0000018E 2268 0004 movea.l A1, [A0 + 0x4]
00000192 2429 0020 move.l D2, [A1 + 0x20]
00000196 7200 moveq.l D1, 0x00
00000198 588F addq.l A7, 4
label0000019A:
0000019A 2001 move.l D0, D1
0000019C E780 asl D0, 3
0000019E 2600 move.l D3, D0
000001A0 D080 add.l D0, D0
000001A2 D083 add.l D0, D3
000001A4 2240 movea.l A1, D0
000001A6 D3ED FA9A add.l A1, [A5 - 0x566]
000001AA 2601 move.l D3, D1
000001AC E783 asl D3, 3
000001AE 2003 move.l D0, D3
000001B0 D683 add.l D3, D3
000001B2 D680 add.l D3, D0
000001B4 2043 movea.l A0, D3
000001B6 D1C2 add.l A0, D2
000001B8 7005 moveq.l D0, 0x05
label000001BA:
000001BA 22D8 move.l [A1]+, [A0]+
000001BC 51C8 FFFC dbf D0, -0x6 /* 000001BA */
000001C0 5281 addq.l D1, 1
000001C2 7005 moveq.l D0, 0x05
000001C4 B081 cmp.l D0, D1
000001C6 6E00 FFD2 bgt -0x2C /* 0000019A */
label000001CA:
000001CA 7000 moveq.l D0, 0x00
000001CC 2B40 FAAE move.l [A5 - 0x552], D0
label000001D0:
000001D0 4CEE 0C0C FFF0 movem.l D2,D3,A2,A3, [A6 - 0x10]
000001D6 4E5E unlink A6
000001D8 4E75 rts
000001DA DF52 add.w [A2], D7
000001DC 5449 addq.w A1, 2
000001DE 4E49 trap 9
000001E0 5420 addq.b -[A0], 2
fn000001E2:
000001E2 4E56 0000 link A6, 0
000001E6 202E 0008 move.l D0, [A6 + 0x8]
000001EA 0280 00FF FFFF andi.l D0, 0xFFFFFF
000001F0 2F00 move.l -[A7], D0
000001F2 4EBA 000E jsr [PC + 0xE /* 00000202 */]
000001F6 4E5E unlink A6
000001F8 4E75 rts
000001FA C558 and.w [A0]+, D2
000001FC 4954 chk.w D4, [A4]
000001FE 2020 move.l D0, -[A0]
00000200 2020 move.l D0, -[A0]
fn00000202:
00000202 4E56 0000 link A6, 0
00000206 48E7 2020 movem.l -[A7], D2,A2
0000020A 242E 0008 move.l D2, [A6 + 0x8]
0000020E 206D FA90 movea.l A0, [A5 - 0x570]
00000212 7024 moveq.l D0, 0x24
00000214 D1C0 add.l A0, D0
00000216 2448 movea.l A2, A0
00000218 600E bra +0x10 /* 00000228 */
label0000021A:
0000021A 4A92 tst.l [A2]
0000021C 6708 beq +0xA /* 00000226 */
0000021E 2F02 move.l -[A7], D2
00000220 2052 movea.l A0, [A2]
00000222 4E90 jsr [A0]
00000224 588F addq.l A7, 4
label00000226:
00000226 598A subq.l A2, 4
label00000228:
00000228 206D FA90 movea.l A0, [A5 - 0x570]
0000022C B5C8 cmpa.l A2, A0
0000022E 6200 FFEA bhi -0x14 /* 0000021A */
00000232 4AAD FA9E tst.l [A5 - 0x562]
00000236 6708 beq +0xA /* 00000240 */
00000238 206D FA9E movea.l A0, [A5 - 0x562]
0000023C 2142 000E move.l [A0 + 0xE], D2
label00000240:
00000240 206D FA90 movea.l A0, [A5 - 0x570]
00000244 2050 movea.l A0, [A0]
00000246 4E90 jsr [A0]
00000248 4CEE 0404 FFF8 movem.l D2,A2, [A6 - 0x8]
0000024E 4E5E unlink A6
00000250 4E75 rts
00000252 DF52 add.w [A2], D7
00000254 5445 addq.w D5, 2
00000256 5849 addq.w A1, 4
00000258 5420 addq.b -[A0], 2
0000025A 7000 moveq.l D0, 0x00
label0000025C:
0000025C 31C0 0220 move.w [0x00000220 /* MemErr */], D0
00000260 2008 move.l D0, A0
00000262 4E75 rts
fn00000264:
00000264 202F 0004 move.l D0, [A7 + 0x4]
00000268 A11E syscall NewPtr, flags=1
0000026A 4EFA FFF0 jmp [PC - 0x10 /* 0000025C */]
fn0000026E:
0000026E 202F 0004 move.l D0, [A7 + 0x4]
00000272 6726 beq +0x28 /* 0000029A */
00000274 2040 movea.l A0, D0
00000276 2248 movea.l A1, A0
00000278 1019 move.b D0, [A1]+
0000027A 671E beq +0x20 /* 0000029A */
label0000027C:
0000027C 1211 move.b D1, [A1]
0000027E 12C0 move.b [A1]+, D0
00000280 1001 move.b D0, D1
00000282 66F8 bne -0x6 /* 0000027C */
00000284 93C8 sub.l A1, A0
00000286 2009 move.l D0, A1
00000288 5340 subq.w D0, 1
0000028A 0C80 0000 00FF cmpi.l D0, 0xFF
00000290 6F06 ble +0x8 /* 00000298 */
00000292 203C 0000 00FF move.l D0, 0xFF
label00000298:
00000298 1080 move.b [A0], D0
label0000029A:
0000029A 202F 0004 move.l D0, [A7 + 0x4]
0000029E 4E75 rts
fn000002A0:
000002A0 202F 0004 move.l D0, [A7 + 0x4]
000002A4 6712 beq +0x14 /* 000002B8 */
000002A6 2040 movea.l A0, D0
000002A8 7000 moveq.l D0, 0x00
000002AA 1010 move.b D0, [A0]
000002AC 6004 bra +0x6 /* 000002B2 */
label000002AE:
000002AE 10E8 0001 move.b [A0]+, [A0 + 0x1]
label000002B2:
000002B2 51C8 FFFA dbf D0, -0x8 /* 000002AE */
000002B6 4210 clr.b [A0]
label000002B8:
000002B8 202F 0004 move.l D0, [A7 + 0x4]
000002BC 4E75 rts
export_1:
000002BE 225F movea.l A1, [A7]+
000002C0 201F move.l D0, [A7]+
000002C2 A04C syscall CompactMem
000002C4 2E80 move.l [A7], D0
000002C6 4E71 nop
label000002C8:
000002C8 7000 moveq.l D0, 0x00
label000002CA:
000002CA 2F09 move.l -[A7], A1
label000002CC:
000002CC 31C0 0220 move.w [0x00000220 /* MemErr */], D0
000002D0 4E75 rts
000002D2 7000 moveq.l D0, 0x00
000002D4 60F6 bra -0x8 /* 000002CC */
export_2:
000002D6 225F movea.l A1, [A7]+
000002D8 201F move.l D0, [A7]+
000002DA A04D syscall PurgeMem
000002DC 4EFA FFEC jmp [PC - 0x14 /* 000002CA */]
export_3:
000002E0 225F movea.l A1, [A7]+
000002E2 205F movea.l A0, [A7]+
000002E4 A04B syscall SetGrowZone
000002E6 4EFA FFE2 jmp [PC - 0x1E /* 000002CA */]
export_4:
000002EA 225F movea.l A1, [A7]+
000002EC 205F movea.l A0, [A7]+
000002EE A02D syscall SetApplLimit
000002F0 4EFA FFD8 jmp [PC - 0x28 /* 000002CA */]
export_5:
000002F4 4A78 028E tst.w [0x0000028E /* ROM85 */]
000002F8 6A2A bpl +0x2C /* 00000324 */
000002FA 2078 0130 movea.l A0, [0x00000130 /* ApplLimit */]
000002FE 43F8 0114 lea.l A1, [0x00000114 /* HeapEnd */]
00000302 2008 move.l D0, A0
00000304 9091 sub.l D0, [A1]
00000306 740C moveq.l D2, 0x0C
00000308 B082 cmp.l D0, D2
0000030A 6516 bcs +0x18 /* 00000322 */
0000030C 2251 movea.l A1, [A1]
0000030E 21C8 0114 move.l [0x00000114 /* HeapEnd */], A0
00000312 2280 move.l [A1], D0
00000314 4211 clr.b [A1]
00000316 2278 02AA movea.l A1, [0x000002AA /* ApplZone */]
0000031A 2288 move.l [A1], A0
0000031C 2082 move.l [A0], D2
0000031E D1A9 000C add.l [A1 + 0xC], D0
label00000322:
00000322 4E75 rts
label00000324:
00000324 A063 syscall MaxApplZone
00000326 4E75 rts
label00000328:
00000328 225F movea.l A1, [A7]+
0000032A 205F movea.l A0, [A7]+
0000032C A064 syscall MoveHHi
0000032E 4ED1 jmp [A1]
export_6:
fn00000330:
00000330 4A78 028E tst.w [0x0000028E /* ROM85 */]
00000334 6AF2 bpl -0xC /* 00000328 */
00000336 226F 0004 movea.l A1, [A7 + 0x4]
0000033A 48E7 1F3E movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A5,A6
0000033E 2009 move.l D0, A1
00000340 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
00000344 670C beq +0xE /* 00000352 */
00000346 2240 movea.l A1, D0
00000348 2011 move.l D0, [A1]
0000034A C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
0000034E 2040 movea.l A0, D0
00000350 6606 bne +0x8 /* 00000358 */
label00000352:
00000352 7093 moveq.l D0, 0xFFFFFF93
label00000354:
00000354 6000 0162 bra +0x164 /* 000004B8 */
label00000358:
00000358 2849 movea.l A4, A1
0000035A 4A14 tst.b [A4]
0000035C 6A04 bpl +0x6 /* 00000362 */
0000035E 708B moveq.l D0, 0xFFFFFF8B
00000360 60F2 bra -0xC /* 00000354 */
label00000362:
00000362 2C49 movea.l A6, A1
00000364 2028 FFFC move.l D0, [A0 - 0x4]
00000368 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
0000036C 9DC0 sub.l A6, D0
0000036E 2656 movea.l A3, [A6]
00000370 5188 subq.l A0, 8
00000372 2210 move.l D1, [A0]
00000374 C2B8 031A and.l D1, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
00000378 2E01 move.l D7, D1
0000037A 5187 subq.l D7, 8
0000037C 7000 moveq.l D0, 0x00
0000037E D1C1 add.l A0, D1
00000380 B1CB cmpa.l A0, A3
00000382 6400 0134 bcc +0x136 /* 000004B8 */
00000386 4A10 tst.b [A0]
00000388 6710 beq +0x12 /* 0000039A */
0000038A 6A00 012C bpl +0x12E /* 000004B8 */
0000038E 2068 0004 movea.l A0, [A0 + 0x4]
00000392 D1CE add.l A0, A6
00000394 4A10 tst.b [A0]
00000396 6B00 0120 bmi +0x122 /* 000004B8 */
label0000039A:
0000039A 220F move.l D1, A7
0000039C C2B8 031A and.l D1, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
000003A0 2078 02AA movea.l A0, [0x000002AA /* ApplZone */]
000003A4 9290 sub.l D1, [A0]
000003A6 243C 0000 0400 move.l D2, 0x400
000003AC 2002 move.l D0, D2
000003AE D087 add.l D0, D7
000003B0 B280 cmp.l D1, D0
000003B2 6D02 blt +0x4 /* 000003B6 */
000003B4 2200 move.l D1, D0
label000003B6:
000003B6 70FF moveq.l D0, 0xFFFFFFFF
000003B8 B282 cmp.l D1, D2
000003BA 6D00 00FC blt +0xFE /* 000004B8 */
000003BE 0482 0000 0080 subi.l D2, 0x80
000003C4 9282 sub.l D1, D2
000003C6 9FC1 sub.l A7, D1
000003C8 9EFC 0016 sub.w A7, 0x16
000003CC 2A4F movea.l A5, A7
000003CE 2B41 0008 move.l [A5 + 0x8], D1
000003D2 2B78 0118 0012 move.l [A5 + 0x12], [0x00000118 /* TheZone */]
000003D8 21CE 0118 move.l [0x00000118 /* TheZone */], A6
000003DC 2054 movea.l A0, [A4]
000003DE 5148 subq.w A0, 8
000003E0 2A90 move.l [A5], [A0]
000003E2 2014 move.l D0, [A4]
000003E4 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
000003E8 2B40 000C move.l [A5 + 0xC], D0
000003EC 1B54 0010 move.b [A5 + 0x10], [A4]
000003F0 6100 00D2 bsr +0xD4 /* 000004C4 */
000003F4 4A12 tst.b [A2]
000003F6 662A bne +0x2C /* 00000422 */
000003F8 2212 move.l D1, [A2]
000003FA 2001 move.l D0, D1
000003FC 5180 subq.l D0, 8
000003FE BE80 cmp.l D7, D0
00000400 6220 bhi +0x22 /* 00000422 */
00000402 9087 sub.l D0, D7
00000404 6706 beq +0x8 /* 0000040C */
00000406 740C moveq.l D2, 0x0C
00000408 B082 cmp.l D0, D2
0000040A 6516 bcs +0x18 /* 00000422 */
label0000040C:
0000040C 2054 movea.l A0, [A4]
0000040E 224A movea.l A1, A2
00000410 D3C1 add.l A1, D1
label00000412:
00000412 2007 move.l D0, D7
00000414 93C0 sub.l A1, D0
00000416 91AE 000C sub.l [A6 + 0xC], D0
0000041A A02E syscall BlockMove/BlockMoveData
0000041C 204C movea.l A0, A4
0000041E A02B syscall EmptyHandle
00000420 6068 bra +0x6A /* 0000048A */
label00000422:
00000422 7C00 moveq.l D6, 0x00
00000424 6100 00D8 bsr +0xDA /* 000004FE */
00000428 6100 0112 bsr +0x114 /* 0000053C */
0000042C 6100 0096 bsr +0x98 /* 000004C4 */
label00000430:
00000430 2212 move.l D1, [A2]
00000432 202D 0004 move.l D0, [A5 + 0x4]
00000436 41ED 0016 lea.l A0, [A5 + 0x16]
0000043A 224A movea.l A1, A2
0000043C D3C1 add.l A1, D1
0000043E 93C0 sub.l A1, D0
00000440 DC80 add.l D6, D0
00000442 91AE 000C sub.l [A6 + 0xC], D0
00000446 A02E syscall BlockMove/BlockMoveData
00000448 4A87 tst.l D7
0000044A 673E beq +0x40 /* 0000048A */
0000044C 2009 move.l D0, A1
0000044E 908A sub.l D0, A2
00000450 6716 beq +0x18 /* 00000468 */
00000452 2200 move.l D1, D0
00000454 5181 subq.l D1, 8
00000456 9287 sub.l D1, D7
00000458 650C bcs +0xE /* 00000466 */
0000045A 6706 beq +0x8 /* 00000462 */
0000045C 740C moveq.l D2, 0x0C
0000045E B481 cmp.l D2, D1
00000460 6504 bcs +0x6 /* 00000466 */
label00000462:
00000462 2054 movea.l A0, [A4]
00000464 60AC bra -0x52 /* 00000412 */
label00000466:
00000466 2480 move.l [A2], D0
label00000468:
00000468 4CD1 0030 movem.l D4,D5, [A1]
0000046C 234E 0004 move.l [A1 + 0x4], A6
00000470 2286 move.l [A1], D6
00000472 12BC 0040 move.b [A1], 0x40 /* '@' */
00000476 2F09 move.l -[A7], A1
00000478 6100 0084 bsr +0x86 /* 000004FE */
0000047C 6100 00BE bsr +0xC0 /* 0000053C */
00000480 6142 bsr +0x44 /* 000004C4 */
00000482 225F movea.l A1, [A7]+
00000484 48D1 0030 movem.l [A1], D4,D5
00000488 60A6 bra -0x58 /* 00000430 */
label0000048A:
0000048A 5189 subq.l A1, 8
0000048C 51AE 000C subq.l [A6 + 0xC], 8
00000490 2009 move.l D0, A1
00000492 908A sub.l D0, A2
00000494 6702 beq +0x4 /* 00000498 */
00000496 2480 move.l [A2], D0
label00000498:
00000498 2449 movea.l A2, A1
0000049A 24D5 move.l [A2]+, [A5]
0000049C 204C movea.l A0, A4
0000049E 91CE sub.l A0, A6
000004A0 24C8 move.l [A2]+, A0
000004A2 288A move.l [A4], A2
000004A4 18AD 0010 move.b [A4], [A5 + 0x10]
000004A8 21ED 0012 0118 move.l [0x00000118 /* TheZone */], [A5 + 0x12]
000004AE 7000 moveq.l D0, 0x00
000004B0 DFED 0008 add.l A7, [A5 + 0x8]
000004B4 DEFC 0016 add.w A7, 0x16
label000004B8:
000004B8 4CDF 7CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A5,A6, [A7]+
000004BC 2E9F move.l [A7], [A7]+
000004BE 31C0 0220 move.w [0x00000220 /* MemErr */], D0
000004C2 4E75 rts
fn000004C4:
000004C4 2014 move.l D0, [A4]
000004C6 670A beq +0xC /* 000004D2 */
000004C8 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
000004CC 2040 movea.l A0, D0
000004CE 5148 subq.w A0, 8
000004D0 6004 bra +0x6 /* 000004D6 */
label000004D2:
000004D2 41EE 0034 lea.l A0, [A6 + 0x34]
label000004D6:
000004D6 2210 move.l D1, [A0]
000004D8 C2B8 031A and.l D1, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
000004DC 4A10 tst.b [A0]
000004DE 670C beq +0xE /* 000004EC */
000004E0 6A14 bpl +0x16 /* 000004F6 */
000004E2 2268 0004 movea.l A1, [A0 + 0x4]
000004E6 D3CE add.l A1, A6
000004E8 4A11 tst.b [A1]
000004EA 6B0A bmi +0xC /* 000004F6 */
label000004EC:
000004EC 2448 movea.l A2, A0
000004EE D1C1 add.l A0, D1
000004F0 B1CB cmpa.l A0, A3
000004F2 65E2 bcs -0x1C /* 000004D6 */
000004F4 6006 bra +0x8 /* 000004FC */
label000004F6:
000004F6 B1ED 000C cmpa.l A0, [A5 + 0xC]
000004FA 63F0 bls -0xE /* 000004EC */
label000004FC:
000004FC 4E75 rts
fn000004FE:
000004FE 202D 0008 move.l D0, [A5 + 0x8]
00000502 B087 cmp.l D0, D7
00000504 6D02 blt +0x4 /* 00000508 */
00000506 2007 move.l D0, D7
label00000508:
00000508 43ED 0016 lea.l A1, [A5 + 0x16]
0000050C 2054 movea.l A0, [A4]
0000050E D1C7 add.l A0, D7
00000510 91C0 sub.l A0, D0
00000512 9E80 sub.l D7, D0
00000514 2B40 0004 move.l [A5 + 0x4], D0
00000518 2200 move.l D1, D0
0000051A A02E syscall BlockMove/BlockMoveData
0000051C 204C movea.l A0, A4
0000051E 2007 move.l D0, D7
00000520 6604 bne +0x6 /* 00000526 */
00000522 A02B syscall EmptyHandle
00000524 4E75 rts
label00000526:
00000526 2050 movea.l A0, [A0]
00000528 5148 subq.w A0, 8
0000052A 1410 move.b D2, [A0]
0000052C 5080 addq.l D0, 8
0000052E 2080 move.l [A0], D0
00000530 1082 move.b [A0], D2
00000532 D1C0 add.l A0, D0
00000534 2081 move.l [A0], D1
00000536 D3AE 000C add.l [A6 + 0xC], D1
0000053A 4E75 rts
fn0000053C:
0000053C 203C 0080 0000 move.l D0, 0x800000
00000542 A04C syscall CompactMem
00000544 4E75 rts
export_7:
00000546 225F movea.l A1, [A7]+
00000548 201F move.l D0, [A7]+
0000054A A11E syscall NewPtr, flags=1
0000054C 2E88 move.l [A7], A0
0000054E 4EFA FD7A jmp [PC - 0x286 /* 000002CA */]
export_8:
00000552 225F movea.l A1, [A7]+
00000554 205F movea.l A0, [A7]+
00000556 A01F syscall DisposPtr/DisposePtr
00000558 4EFA FD70 jmp [PC - 0x290 /* 000002CA */]
export_9:
0000055C 225F movea.l A1, [A7]+
0000055E 201F move.l D0, [A7]+
00000560 A122 syscall NewHandle, flags=1
00000562 2E88 move.l [A7], A0
00000564 4EFA FD64 jmp [PC - 0x29C /* 000002CA */]
export_10:
00000568 225F movea.l A1, [A7]+
0000056A 205F movea.l A0, [A7]+
0000056C A023 syscall DisposHandle/DisposeHandle
0000056E 4EFA FD5A jmp [PC - 0x2A6 /* 000002CA */]
export_11:
fn00000572:
00000572 225F movea.l A1, [A7]+
00000574 205F movea.l A0, [A7]+
00000576 A025 syscall GetHandleSize
00000578 2E80 move.l [A7], D0
0000057A 6A06 bpl +0x8 /* 00000582 */
0000057C 4297 clr.l [A7]
0000057E 4EFA FD4A jmp [PC - 0x2B6 /* 000002CA */]
label00000582:
00000582 4EFA FD44 jmp [PC - 0x2BC /* 000002C8 */]
export_12:
00000586 225F movea.l A1, [A7]+
00000588 201F move.l D0, [A7]+
0000058A 205F movea.l A0, [A7]+
0000058C A024 syscall SetHandleSize
0000058E 4EFA FD3A jmp [PC - 0x2C6 /* 000002CA */]
export_13:
00000592 225F movea.l A1, [A7]+
00000594 205F movea.l A0, [A7]+
00000596 A126 syscall HandleZone, flags=1
00000598 2E88 move.l [A7], A0
0000059A 4EFA FD2E jmp [PC - 0x2D2 /* 000002CA */]
export_14:
fn0000059E:
0000059E 225F movea.l A1, [A7]+
000005A0 205F movea.l A0, [A7]+
000005A2 A02B syscall EmptyHandle
000005A4 4EFA FD24 jmp [PC - 0x2DC /* 000002CA */]
export_15:
000005A8 225F movea.l A1, [A7]+
000005AA 201F move.l D0, [A7]+
000005AC 205F movea.l A0, [A7]+
000005AE A027 syscall ReallocateHandle
000005B0 4EFA FD18 jmp [PC - 0x2E8 /* 000002CA */]
export_16:
fn000005B4:
000005B4 225F movea.l A1, [A7]+
000005B6 205F movea.l A0, [A7]+
000005B8 A029 syscall HLock
000005BA 4EFA FD0E jmp [PC - 0x2F2 /* 000002CA */]
export_17:
000005BE 225F movea.l A1, [A7]+
000005C0 205F movea.l A0, [A7]+
000005C2 A02A syscall HUnlock
000005C4 4EFA FD04 jmp [PC - 0x2FC /* 000002CA */]
fn000005C8:
000005C8 225F movea.l A1, [A7]+
000005CA 205F movea.l A0, [A7]+
000005CC A049 syscall HPurge
000005CE 4EFA FCFA jmp [PC - 0x306 /* 000002CA */]
export_18:
000005D2 225F movea.l A1, [A7]+
000005D4 205F movea.l A0, [A7]+
000005D6 A04A syscall HNoPurge
000005D8 4EFA FCF0 jmp [PC - 0x310 /* 000002CA */]
fn000005DC:
000005DC A036 syscall MoreMasters
000005DE 4EFA FCEC jmp [PC - 0x314 /* 000002CC */]
export_19:
000005E2 221F move.l D1, [A7]+
000005E4 201F move.l D0, [A7]+
000005E6 225F movea.l A1, [A7]+
000005E8 205F movea.l A0, [A7]+
000005EA A02E syscall BlockMove/BlockMoveData
000005EC 2241 movea.l A1, D1
000005EE 4EFA FCDA jmp [PC - 0x326 /* 000002CA */]
export_20:
000005F2 225F movea.l A1, [A7]+
000005F4 205F movea.l A0, [A7]+
000005F6 A033 syscall VInstall
000005F8 3E80 move.w [A7], D0
000005FA 4ED1 jmp [A1]
export_21:
000005FC 225F movea.l A1, [A7]+
000005FE 205F movea.l A0, [A7]+
00000600 A034 syscall VRemove
00000602 3E80 move.w [A7], D0
00000604 4ED1 jmp [A1]
export_22:
00000606 225F movea.l A1, [A7]+
00000608 301F move.w D0, [A7]+
0000060A A146 syscall GetTrapAddress, flags=1
0000060C 2E88 move.l [A7], A0
0000060E 4ED1 jmp [A1]
export_23:
00000610 225F movea.l A1, [A7]+
00000612 121F move.b D1, [A7]+
00000614 301F move.w D0, [A7]+
00000616 2F09 move.l -[A7], A1
00000618 4A01 tst.b D1
0000061A 6706 beq +0x8 /* 00000622 */
0000061C A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
0000061E 6000 0004 bra +0x6 /* 00000624 */
label00000622:
00000622 A346 syscall GetOSTrapAddress, flags=3
label00000624:
00000624 2F48 0004 move.l [A7 + 0x4], A0
00000628 4E75 rts
export_24:
0000062A 225F movea.l A1, [A7]+
0000062C 205F movea.l A0, [A7]+
0000062E 20B8 020C move.l [A0], [0x0000020C /* Time */]
00000632 4ED1 jmp [A1]
export_25:
00000634 201F move.l D0, [A7]+
00000636 225F movea.l A1, [A7]+
00000638 205F movea.l A0, [A7]+
0000063A 2F00 move.l -[A7], D0
0000063C A03B syscall Delay
0000063E 2280 move.l [A1], D0
00000640 4E75 rts
export_26:
00000642 4E56 0000 link A6, 0
00000646 206E 0010 movea.l A0, [A6 + 0x10]
0000064A 226E 000C movea.l A1, [A6 + 0xC]
0000064E 7000 moveq.l D0, 0x00
00000650 1018 move.b D0, [A0]+
00000652 4840 swap.w D0
00000654 1019 move.b D0, [A1]+
00000656 4A2E 0008 tst.b [A6 + 0x8]
0000065A 670E beq +0x10 /* 0000066A */
0000065C 4A2E 000A tst.b [A6 + 0xA]
00000660 6704 beq +0x6 /* 00000666 */
00000662 A43C syscall CmpString, flags=4
00000664 6010 bra +0x12 /* 00000676 */
label00000666:
00000666 A03C syscall CmpString
00000668 600C bra +0xE /* 00000676 */
label0000066A:
0000066A 4A2E 000A tst.b [A6 + 0xA]
0000066E 6704 beq +0x6 /* 00000674 */
00000670 A63C syscall CmpString, flags=6
00000672 6002 bra +0x4 /* 00000676 */
label00000674:
00000674 A23C syscall CmpString, flags=2
label00000676:
00000676 0A00 0001 xori.b D0, 0x1
0000067A 1D40 0014 move.b [A6 + 0x14], D0
0000067E 4E5E unlink A6
00000680 205F movea.l A0, [A7]+
00000682 DEFC 000C add.w A7, 0xC
00000686 4ED0 jmp [A0]
export_27:
00000688 205F movea.l A0, [A7]+
0000068A 0838 0006 0938 btst.b [0x00000938 /* HiliteMode */], 0x6
00000690 6708 beq +0xA /* 0000069A */
00000692 1F7C 0001 0002 move.b [A7 + 0x2], 0x1
00000698 6004 bra +0x6 /* 0000069E */
label0000069A:
0000069A 422F 0002 clr.b [A7 + 0x2]
label0000069E:
0000069E 101F move.b D0, [A7]+
000006A0 6708 beq +0xA /* 000006AA */
000006A2 08F8 0006 0938 bset.b [0x00000938 /* HiliteMode */], 0x6
000006A8 6006 bra +0x8 /* 000006B0 */
label000006AA:
000006AA 08B8 0006 0938 bclr.b [0x00000938 /* HiliteMode */], 0x6
label000006B0:
000006B0 4ED0 jmp [A0]
export_28:
000006B2 225F movea.l A1, [A7]+
000006B4 101F move.b D0, [A7]+
000006B6 205F movea.l A0, [A7]+
000006B8 6604 bne +0x6 /* 000006BE */
000006BA A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
000006BC 6002 bra +0x4 /* 000006C0 */
label000006BE:
000006BE A40C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=4
label000006C0:
000006C0 3E80 move.w [A7], D0
000006C2 4ED1 jmp [A1]
export_29:
000006C4 225F movea.l A1, [A7]+
000006C6 101F move.b D0, [A7]+
000006C8 205F movea.l A0, [A7]+
000006CA 6604 bne +0x6 /* 000006D0 */
000006CC A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
000006CE 6002 bra +0x4 /* 000006D2 */
label000006D0:
000006D0 A40D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=4
label000006D2:
000006D2 3E80 move.w [A7], D0
000006D4 4ED1 jmp [A1]
export_30:
000006D6 4E56 FFCE link A6, -0x0032
000006DA 41EE FFCE lea.l A0, [A6 - 0x32]
000006DE 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
000006E4 A001 syscall Close
000006E6 3D40 000A move.w [A6 + 0xA], D0
000006EA 4E5E unlink A6
000006EC 205F movea.l A0, [A7]+
000006EE 548F addq.l A7, 2
000006F0 4ED0 jmp [A0]
export_31:
000006F2 51C1 sf D1
000006F4 6002 bra +0x4 /* 000006F8 */
export_32:
000006F6 50C1 st D1
label000006F8:
000006F8 4E56 FFCE link A6, -0x0032
000006FC 41EE FFCE lea.l A0, [A6 - 0x32]
00000700 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
00000706 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
0000070C 226E 000C movea.l A1, [A6 + 0xC]
00000710 2151 0024 move.l [A0 + 0x24], [A1]
00000714 4268 002C clr.w [A0 + 0x2C]
00000718 42A8 002E clr.l [A0 + 0x2E]
0000071C 4A01 tst.b D1
0000071E 6604 bne +0x6 /* 00000724 */
00000720 A002 syscall Read
00000722 6002 bra +0x4 /* 00000726 */
label00000724:
00000724 A003 syscall Write
label00000726:
00000726 3D40 0012 move.w [A6 + 0x12], D0
0000072A 226E 000C movea.l A1, [A6 + 0xC]
0000072E 22A8 0028 move.l [A1], [A0 + 0x28]
00000732 4E5E unlink A6
00000734 225F movea.l A1, [A7]+
00000736 DEFC 000A add.w A7, 0xA /* '\n' */
0000073A 4ED1 jmp [A1]
export_33:
0000073C 4E56 FFC0 link A6, -0x0040
00000740 41EE FFC0 lea.l A0, [A6 - 0x40]
00000744 216E 000C 0012 move.l [A0 + 0x12], [A6 + 0xC]
0000074A A014 syscall GetVol/PBHGetVol/HGetVol
0000074C 3D40 0010 move.w [A6 + 0x10], D0
00000750 226E 0008 movea.l A1, [A6 + 0x8]
00000754 32A8 0016 move.w [A1], [A0 + 0x16]
00000758 4E5E unlink A6
0000075A 225F movea.l A1, [A7]+
0000075C 508F addq.l A7, 8
0000075E 4ED1 jmp [A1]
export_34:
00000760 4E56 FFC0 link A6, -0x0040
00000764 41EE FFC0 lea.l A0, [A6 - 0x40]
00000768 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
0000076E 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00000774 A015 syscall SetVol/PBHSetVol/HSetVol
00000776 3D40 000E move.w [A6 + 0xE], D0
0000077A 4E5E unlink A6
0000077C 225F movea.l A1, [A7]+
0000077E 5C8F addq.l A7, 6
00000780 4ED1 jmp [A1]
export_35:
00000782 4E56 FFC0 link A6, -0x0040
00000786 41EE FFC0 lea.l A0, [A6 - 0x40]
0000078A 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00000790 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00000796 A013 syscall FlushVol
00000798 3D40 000E move.w [A6 + 0xE], D0
0000079C 4E5E unlink A6
0000079E 225F movea.l A1, [A7]+
000007A0 5C8F addq.l A7, 6
000007A2 4ED1 jmp [A1]
export_36:
000007A4 4E56 FFB0 link A6, -0x0050
000007A8 41EE FFB0 lea.l A0, [A6 - 0x50]
000007AC 216E 0012 0012 move.l [A0 + 0x12], [A6 + 0x12]
000007B2 316E 0010 0016 move.w [A0 + 0x16], [A6 + 0x10]
000007B8 4228 001A clr.b [A0 + 0x1A]
000007BC A008 syscall Create/PBHCreate/HCreate
000007BE 4A40 tst.w D0
000007C0 6616 bne +0x18 /* 000007D8 */
000007C2 4268 001C clr.w [A0 + 0x1C]
000007C6 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
000007C8 2008 move.l D0, A0
000007CA 43E8 0020 lea.l A1, [A0 + 0x20]
000007CE 22EE 0008 move.l [A1]+, [A6 + 0x8]
000007D2 22AE 000C move.l [A1], [A6 + 0xC]
000007D6 A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label000007D8:
000007D8 3D40 0016 move.w [A6 + 0x16], D0
000007DC 4E5E unlink A6
000007DE 225F movea.l A1, [A7]+
000007E0 DEFC 000E add.w A7, 0xE
000007E4 4ED1 jmp [A1]
export_37:
000007E6 4E56 FFCE link A6, -0x0032
000007EA 41EE FFCE lea.l A0, [A6 - 0x32]
000007EE 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
000007F4 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
000007FA 4228 001A clr.b [A0 + 0x1A]
000007FE 216E 0008 001C move.l [A0 + 0x1C], [A6 + 0x8]
00000804 A00B syscall Rename/PBHRename/HRename
00000806 3D40 0012 move.w [A6 + 0x12], D0
0000080A 4E5E unlink A6
0000080C 225F movea.l A1, [A7]+
0000080E DEFC 000A add.w A7, 0xA /* '\n' */
00000812 4ED1 jmp [A1]
export_38:
00000814 4E56 FFCE link A6, -0x0032
00000818 41EE FFCE lea.l A0, [A6 - 0x32]
0000081C 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
00000822 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
00000828 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
0000082E A044 syscall SetFPos
00000830 3D40 0010 move.w [A6 + 0x10], D0
00000834 4E5E unlink A6
00000836 225F movea.l A1, [A7]+
00000838 508F addq.l A7, 8
0000083A 4ED1 jmp [A1]
export_39:
0000083C 225F movea.l A1, [A7]+
0000083E 101F move.b D0, [A7]+
00000840 205F movea.l A0, [A7]+
00000842 6606 bne +0x8 /* 0000084A */
00000844 7007 moveq.l D0, 0x07
00000846 A260 syscall FSDispatch/HFSDispatch, flags=2
00000848 6004 bra +0x6 /* 0000084E */
label0000084A:
0000084A 7007 moveq.l D0, 0x07
0000084C A660 syscall FSDispatch/HFSDispatch, flags=6
label0000084E:
0000084E 3E80 move.w [A7], D0
00000850 4ED1 jmp [A1]
export_40:
00000852 206F 0006 movea.l A0, [A7 + 0x6]
00000856 4228 001A clr.b [A0 + 0x1A]
0000085A 225F movea.l A1, [A7]+
0000085C 101F move.b D0, [A7]+
0000085E 205F movea.l A0, [A7]+
00000860 6606 bne +0x8 /* 00000868 */
00000862 7009 moveq.l D0, 0x09
00000864 A260 syscall FSDispatch/HFSDispatch, flags=2
00000866 6004 bra +0x6 /* 0000086C */
label00000868:
00000868 7009 moveq.l D0, 0x09
0000086A A660 syscall FSDispatch/HFSDispatch, flags=6
label0000086C:
0000086C 3E80 move.w [A7], D0
0000086E 4ED1 jmp [A1]
export_41:
00000870 225F movea.l A1, [A7]+
00000872 101F move.b D0, [A7]+
00000874 205F movea.l A0, [A7]+
00000876 6606 bne +0x8 /* 0000087E */
00000878 700A moveq.l D0, 0x0A
0000087A A260 syscall FSDispatch/HFSDispatch, flags=2
0000087C 6004 bra +0x6 /* 00000882 */
label0000087E:
0000087E 700A moveq.l D0, 0x0A
00000880 A660 syscall FSDispatch/HFSDispatch, flags=6
label00000882:
00000882 3E80 move.w [A7], D0
00000884 4ED1 jmp [A1]
export_42:
00000886 225F movea.l A1, [A7]+
00000888 101F move.b D0, [A7]+
0000088A 205F movea.l A0, [A7]+
0000088C 6604 bne +0x6 /* 00000892 */
0000088E A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00000890 6002 bra +0x4 /* 00000894 */
label00000892:
00000892 A607 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=6
label00000894:
00000894 3E80 move.w [A7], D0
00000896 4ED1 jmp [A1]
export_43:
00000898 225F movea.l A1, [A7]+
0000089A 101F move.b D0, [A7]+
0000089C 205F movea.l A0, [A7]+
0000089E 6604 bne +0x6 /* 000008A4 */
000008A0 A200 syscall OpenSlot, flags=2
000008A2 6002 bra +0x4 /* 000008A6 */
label000008A4:
000008A4 A600 syscall Open/PBHOpen/HOpen, flags=6
label000008A6:
000008A6 3E80 move.w [A7], D0
000008A8 4ED1 jmp [A1]
export_44:
000008AA 225F movea.l A1, [A7]+
000008AC 101F move.b D0, [A7]+
000008AE 205F movea.l A0, [A7]+
000008B0 6604 bne +0x6 /* 000008B6 */
000008B2 A209 syscall Delete/PBHDelete/HDelete, flags=2
000008B4 6002 bra +0x4 /* 000008B8 */
label000008B6:
000008B6 A609 syscall Delete/PBHDelete/HDelete, flags=6
label000008B8:
000008B8 3E80 move.w [A7], D0
000008BA 4ED1 jmp [A1]
export_45:
000008BC 225F movea.l A1, [A7]+
000008BE 101F move.b D0, [A7]+
000008C0 205F movea.l A0, [A7]+
000008C2 6604 bne +0x6 /* 000008C8 */
000008C4 A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
000008C6 6002 bra +0x4 /* 000008CA */
label000008C8:
000008C8 A60C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=6
label000008CA:
000008CA 3E80 move.w [A7], D0
000008CC 4ED1 jmp [A1]
export_46:
000008CE 226F 0004 movea.l A1, [A7 + 0x4]
000008D2 4251 clr.w [A1]
000008D4 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
000008D8 A025 syscall GetHandleSize
000008DA 4A80 tst.l D0
000008DC 6F0E ble +0x10 /* 000008EC */
000008DE 2050 movea.l A0, [A0]
000008E0 226F 0008 movea.l A1, [A7 + 0x8]
000008E4 3298 move.w [A1], [A0]+
000008E6 226F 0004 movea.l A1, [A7 + 0x4]
000008EA 3290 move.w [A1], [A0]
label000008EC:
000008EC 205F movea.l A0, [A7]+
000008EE 504F addq.w A7, 8
000008F0 4ED0 jmp [A0]
export_47:
000008F2 48E7 0030 movem.l -[A7], A2,A3
000008F6 226F 000C movea.l A1, [A7 + 0xC]
000008FA 42A9 0002 clr.l [A1 + 0x2]
000008FE 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00000902 A025 syscall GetHandleSize
00000904 4A80 tst.l D0
00000906 6F26 ble +0x28 /* 0000092E */
00000908 2450 movea.l A2, [A0]
0000090A 544A addq.w A2, 2
0000090C 322F 0010 move.w D1, [A7 + 0x10]
00000910 B25A cmp.w D1, [A2]+
00000912 6E1A bgt +0x1C /* 0000092E */
00000914 5341 subq.w D1, 1
label00000916:
00000916 6D16 blt +0x18 /* 0000092E */
00000918 204A movea.l A0, A2
0000091A 7002 moveq.l D0, 0x02
0000091C D028 0008 add.b D0, [A0 + 0x8]
00000920 0240 FFFE andi.w D0, 0xFFFE
00000924 5040 addq.w D0, 8
00000926 D4C0 add.w A2, D0
00000928 A02E syscall BlockMove/BlockMoveData
0000092A 5341 subq.w D1, 1
0000092C 60E8 bra -0x16 /* 00000916 */
label0000092E:
0000092E 4CDF 0C00 movem.l A2,A3, [A7]+
00000932 205F movea.l A0, [A7]+
00000934 5C4F addq.w A7, 6
00000936 4ED0 jmp [A0]
export_48:
00000938 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
0000093C A025 syscall GetHandleSize
0000093E 4A80 tst.l D0
00000940 6F28 ble +0x2A /* 0000096A */
00000942 2050 movea.l A0, [A0]
00000944 5448 addq.w A0, 2
00000946 322F 0004 move.w D1, [A7 + 0x4]
0000094A B258 cmp.w D1, [A0]+
0000094C 6E1C bgt +0x1E /* 0000096A */
0000094E 5341 subq.w D1, 1
label00000950:
00000950 6D18 blt +0x1A /* 0000096A */
00000952 6712 beq +0x14 /* 00000966 */
00000954 7002 moveq.l D0, 0x02
00000956 D028 0008 add.b D0, [A0 + 0x8]
0000095A 0240 FFFE andi.w D0, 0xFFFE
0000095E 5040 addq.w D0, 8
00000960 D0C0 add.w A0, D0
00000962 5341 subq.w D1, 1
00000964 60EA bra -0x14 /* 00000950 */
label00000966:
00000966 42A8 0002 clr.l [A0 + 0x2]
label0000096A:
0000096A 205F movea.l A0, [A7]+
0000096C 544F addq.w A7, 2
0000096E 4ED0 jmp [A0]
fn00000970:
00000970 225F movea.l A1, [A7]+
00000972 205F movea.l A0, [A7]+
00000974 A069 syscall HGetState
00000976 1E80 move.b [A7], D0
00000978 4ED1 jmp [A1]
0000097A 7401 moveq.l D2, 0x01
label0000097C:
0000097C 205F movea.l A0, [A7]+
0000097E 3F02 move.w -[A7], D2
00000980 2F08 move.l -[A7], A0
00000982 ADEA syscall Pack3, auto_pop
export_49:
00000984 7403 moveq.l D2, 0x03
00000986 4EFA FFF4 jmp [PC - 0xC /* 0000097C */]
export_50:
0000098A 7404 moveq.l D2, 0x04
0000098C 4EFA FFEE jmp [PC - 0x12 /* 0000097C */]
00000990 7402 moveq.l D2, 0x02
label00000992:
00000992 205F movea.l A0, [A7]+
00000994 3F02 move.w -[A7], D2
00000996 2F08 move.l -[A7], A0
00000998 ADE9 syscall Pack2, auto_pop
export_51:
0000099A 7400 moveq.l D2, 0x00
0000099C 4EFA FFF4 jmp [PC - 0xC /* 00000992 */]
export_52:
000009A0 206F 0008 movea.l A0, [A7 + 0x8]
000009A4 3F3C 0001 move.w -[A7], 0x1
000009A8 A9EE syscall Pack7/DecStr68K
000009AA 206F 0004 movea.l A0, [A7 + 0x4]
000009AE 2080 move.l [A0], D0
000009B0 4EFA 000E jmp [PC + 0xE /* 000009C0 */]
export_53:
000009B4 206F 0004 movea.l A0, [A7 + 0x4]
000009B8 202F 0008 move.l D0, [A7 + 0x8]
000009BC 4267 clr.w -[A7]
000009BE A9EE syscall Pack7/DecStr68K
label000009C0:
000009C0 205F movea.l A0, [A7]+
000009C2 504F addq.w A7, 8
000009C4 4ED0 jmp [A0]
export_54:
000009C6 206F 0004 movea.l A0, [A7 + 0x4]
000009CA 2050 movea.l A0, [A0]
000009CC A9E1 syscall HandToHand
000009CE 226F 0004 movea.l A1, [A7 + 0x4]
000009D2 2288 move.l [A1], A0
000009D4 3F40 0008 move.w [A7 + 0x8], D0
000009D8 2E9F move.l [A7], [A7]+
000009DA 4E75 rts
export_55:
000009DC 202F 0004 move.l D0, [A7 + 0x4]
000009E0 226F 0008 movea.l A1, [A7 + 0x8]
000009E4 206F 000C movea.l A0, [A7 + 0xC]
000009E8 A9EF syscall PtrAndHand
000009EA 3F40 0010 move.w [A7 + 0x10], D0
000009EE 205F movea.l A0, [A7]+
000009F0 DEFC 000C add.w A7, 0xC
000009F4 4ED0 jmp [A0]
000009F6 6118 bsr +0x1A /* 00000A10 */
000009F8 A9DB syscall TEPaste
label000009FA:
000009FA 2E9F move.l [A7], [A7]+
000009FC 4E75 rts
export_56:
000009FE 6110 bsr +0x12 /* 00000A10 */
00000A00 A9D6 syscall TECut
00000A02 60F6 bra -0x8 /* 000009FA */
export_57:
00000A04 610A bsr +0xC /* 00000A10 */
00000A06 A9D5 syscall TECopy
00000A08 60F0 bra -0xE /* 000009FA */
00000A0A 6104 bsr +0x6 /* 00000A10 */
00000A0C A9D7 syscall TEDelete
00000A0E 60EA bra -0x14 /* 000009FA */
fn00000A10:
00000A10 206F 0008 movea.l A0, [A7 + 0x8]
00000A14 4A68 00A4 tst.w [A0 + 0xA4]
00000A18 6B08 bmi +0xA /* 00000A22 */
00000A1A 225F movea.l A1, [A7]+
00000A1C 2F28 00A0 move.l -[A7], [A0 + 0xA0]
00000A20 4ED1 jmp [A1]
label00000A22:
00000A22 4CDF 0301 movem.l D0,A0,A1, [A7]+
00000A26 4ED0 jmp [A0]
export_58:
00000A28 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
00000A2C A029 syscall HLock
00000A2E 594F subq.w A7, 4
00000A30 7000 moveq.l D0, 0x00
00000A32 3038 0AB0 move.w D0, [0x00000AB0 /* TEScrpLength */]
00000A36 2F00 move.l -[A7], D0
00000A38 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00000A3E 2F10 move.l -[A7], [A0]
00000A40 A9FE syscall PutScrap
00000A42 544F addq.w A7, 2
00000A44 3F5F 0004 move.w [A7 + 0x4], [A7]+
00000A48 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
00000A4C A02A syscall HUnlock
00000A4E 4E75 rts
export_59:
00000A50 4E56 0000 link A6, 0
00000A54 594F subq.w A7, 4
00000A56 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00000A5C 3F2E 000A move.w -[A7], [A6 + 0xA]
00000A60 A9A0 syscall GetResource
00000A62 226E 000C movea.l A1, [A6 + 0xC]
00000A66 4211 clr.b [A1]
00000A68 201F move.l D0, [A7]+
00000A6A 6720 beq +0x22 /* 00000A8C */
00000A6C 2040 movea.l A0, D0
00000A6E 2050 movea.l A0, [A0]
00000A70 3018 move.w D0, [A0]+
00000A72 322E 0008 move.w D1, [A6 + 0x8]
00000A76 B240 cmp.w D1, D0
00000A78 6E12 bgt +0x14 /* 00000A8C */
00000A7A 7000 moveq.l D0, 0x00
label00000A7C:
00000A7C 5341 subq.w D1, 1
00000A7E 6706 beq +0x8 /* 00000A86 */
00000A80 1018 move.b D0, [A0]+
00000A82 D1C0 add.l A0, D0
00000A84 60F6 bra -0x8 /* 00000A7C */
label00000A86:
00000A86 1010 move.b D0, [A0]
00000A88 5240 addq.w D0, 1
00000A8A A02E syscall BlockMove/BlockMoveData
label00000A8C:
00000A8C 4E5E unlink A6
00000A8E 205F movea.l A0, [A7]+
00000A90 508F addq.l A7, 8
00000A92 4ED0 jmp [A0]
fn00000A94:
00000A94 4E75 rts
fn00000A96:
00000A96 226F 0004 movea.l A1, [A7 + 0x4]
00000A9A 4878 0001 push.l 0x1
00000A9E 486D FABA pea.l [A5 - 0x546]
00000AA2 486D FAB6 pea.l [A5 - 0x54A]
00000AA6 486D FAB2 pea.l [A5 - 0x54E]
00000AAA 2F09 move.l -[A7], A1
00000AAC 4EBA F552 jsr [PC - 0xAAE /* 00000000 */]
00000AB0 4FEF 0014 lea.l A7, [A7 + 0x14]
00000AB4 4EBA 017C jsr [PC + 0x17C /* 00000C32 */]
00000AB8 4E75 rts
fn00000ABA:
00000ABA 42A7 clr.l -[A7]
00000ABC 4EBA F724 jsr [PC - 0x8DC /* 000001E2 */]
fn00000AC0:
00000AC0 42A7 clr.l -[A7]
00000AC2 4EBA F71E jsr [PC - 0x8E2 /* 000001E2 */]
export_60:
00000AC6 205F movea.l A0, [A7]+
00000AC8 558F subq.l A7, 2
00000ACA 4857 pea.l [A7]
00000ACC 3F3C 0003 move.w -[A7], 0x3
00000AD0 A9EB syscall Pack4/FP68K
00000AD2 301F move.w D0, [A7]+
00000AD4 3200 move.w D1, D0
00000AD6 0040 6000 ori.w D0, 0x6000 /* '`\0' */
00000ADA 3F00 move.w -[A7], D0
00000ADC 4857 pea.l [A7]
00000ADE 3F3C 0001 move.w -[A7], 0x1
00000AE2 A9EB syscall Pack4/FP68K
00000AE4 548F addq.l A7, 2
00000AE6 486F 0004 pea.l [A7 + 0x4]
00000AEA 3F3C 2810 move.w -[A7], 0x2810
00000AEE A9EB syscall Pack4/FP68K
00000AF0 558F subq.l A7, 2
00000AF2 4857 pea.l [A7]
00000AF4 3F3C 0003 move.w -[A7], 0x3
00000AF8 A9EB syscall Pack4/FP68K
00000AFA 301F move.w D0, [A7]+
00000AFC 0241 6000 andi.w D1, 0x6000 /* '`\0' */
00000B00 0240 9FFF andi.w D0, 0x9FFF
00000B04 8041 or.w D0, D1
00000B06 3F00 move.w -[A7], D0
00000B08 4857 pea.l [A7]
00000B0A 3F3C 0001 move.w -[A7], 0x1
00000B0E A9EB syscall Pack4/FP68K
00000B10 548F addq.l A7, 2
00000B12 4ED0 jmp [A0]
export_61:
00000B14 4E56 FFF4 link A6, -0x000C
00000B18 486E FFF4 pea.l [A6 - 0xC]
00000B1C 3F3C 0017 move.w -[A7], 0x17
00000B20 A9EB syscall Pack4/FP68K
00000B22 3F3C 6000 move.w -[A7], 0x6000 /* '`\0' */
00000B26 4857 pea.l [A7]
00000B28 3F3C 0001 move.w -[A7], 0x1
00000B2C A9EB syscall Pack4/FP68K
00000B2E 548F addq.l A7, 2
00000B30 41EE FFF6 lea.l A0, [A6 - 0xA]
00000B34 226E 0008 movea.l A1, [A6 + 0x8]
00000B38 20D9 move.l [A0]+, [A1]+
00000B3A 20D9 move.l [A0]+, [A1]+
00000B3C 3091 move.w [A0], [A1]
00000B3E 5188 subq.l A0, 8
00000B40 43EE 000C lea.l A1, [A6 + 0xC]
00000B44 613E bsr +0x40 /* 00000B84 */
00000B46 3F3C 0004 move.w -[A7], 0x4
00000B4A 4857 pea.l [A7]
00000B4C 3F3C 001B move.w -[A7], 0x1B
00000B50 A9EB syscall Pack4/FP68K
00000B52 101F move.b D0, [A7]+
00000B54 671C beq +0x1E /* 00000B72 */
00000B56 7200 moveq.l D1, 0x00
00000B58 0890 0007 bclr.b [A0], 0x7
00000B5C 6704 beq +0x6 /* 00000B62 */
00000B5E 123C 0080 move.b D1, 0x80
label00000B62:
00000B62 487A 002C pea.l [PC + 0x2C /* 00000B90, value 0x3F000000 '?\0\0\0', cstring "?" */]
00000B66 4850 pea.l [A0]
00000B68 3F3C 1000 move.w -[A7], 0x1000
00000B6C A9EB syscall Pack4/FP68K
00000B6E 8310 or.b [A0], D1
00000B70 6112 bsr +0x14 /* 00000B84 */
label00000B72:
00000B72 486E FFF4 pea.l [A6 - 0xC]
00000B76 3F3C 0019 move.w -[A7], 0x19
00000B7A A9EB syscall Pack4/FP68K
00000B7C 4E5E unlink A6
00000B7E 205F movea.l A0, [A7]+
00000B80 584F addq.w A7, 4
00000B82 4ED0 jmp [A0]
fn00000B84:
00000B84 4850 pea.l [A0]
00000B86 4851 pea.l [A1]
00000B88 3F3C 2810 move.w -[A7], 0x2810
00000B8C A9EB syscall Pack4/FP68K
00000B8E 4E75 rts
00000B90 3F00 move.w -[A7], D0
00000B92 0000 4CD7 ori.b D0, 0xD7
// begin alternate branch 00000B94-00000B98
fn00000B94:
00000B94 4CD7 0301 movem.l D0,A0,A1, [A7]
// end alternate branch 00000B94-00000B98
fn00000B94: // (misaligned)
00000B96 0301 btst D1, D1
00000B98 2F00 move.l -[A7], D0
00000B9A 486F 0010 pea.l [A7 + 0x10]
00000B9E 48E7 00C0 movem.l -[A7], A0,A1
00000BA2 7003 moveq.l D0, 0x03
label00000BA4:
00000BA4 3F00 move.w -[A7], D0
00000BA6 A9EE syscall Pack7/DecStr68K
00000BA8 2057 movea.l A0, [A7]
00000BAA DEFC 0014 add.w A7, 0x14
00000BAE 4ED0 jmp [A0]
export_62:
00000BB0 4CEF 0303 0004 movem.l D0,D1,A0,A1, [A7 + 0x4]
00000BB6 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
00000BBA 7002 moveq.l D0, 0x02
00000BBC 60E6 bra -0x18 /* 00000BA4 */
00000BBE 4CEF 0303 0004 movem.l D0,D1,A0,A1, [A7 + 0x4]
00000BC4 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
00000BC8 7004 moveq.l D0, 0x04
00000BCA 60D8 bra -0x26 /* 00000BA4 */
export_63:
00000BCC 4CDF 0303 movem.l D0,D1,A0,A1, [A7]+
00000BD0 2F00 move.l -[A7], D0
00000BD2 4E56 FFE2 link A6, -0x001E
00000BD6 2D49 FFFC move.l [A6 - 0x4], A1
label00000BDA:
00000BDA 486E FFFC pea.l [A6 - 0x4]
00000BDE 2F08 move.l -[A7], A0
00000BE0 486E FFE2 pea.l [A6 - 0x1E]
00000BE4 3F3C 000B move.w -[A7], 0xB
00000BE8 A9EB syscall Pack4/FP68K
00000BEA 0C6E 013F FFE6 cmpi.w [A6 - 0x1A], 0x13F
00000BF0 6608 bne +0xA /* 00000BFA */
00000BF2 7013 moveq.l D0, 0x13
00000BF4 2D40 FFFC move.l [A6 - 0x4], D0
00000BF8 60E0 bra -0x1E /* 00000BDA */
label00000BFA:
00000BFA 2F09 move.l -[A7], A1
00000BFC 486E FFE2 pea.l [A6 - 0x1E]
00000C00 2F01 move.l -[A7], D1
00000C02 4EBA FF90 jsr [PC - 0x70 /* 00000B94 */]
00000C06 4E5E unlink A6
00000C08 4E75 rts
export_64:
00000C0A 7018 moveq.l D0, 0x18
00000C0C 600E bra +0x10 /* 00000C1C */
export_65:
00000C0E 701A moveq.l D0, 0x1A
00000C10 600A bra +0xC /* 00000C1C */
export_66:
00000C12 701E moveq.l D0, 0x1E
00000C14 6006 bra +0x8 /* 00000C1C */
export_67:
00000C16 7000 moveq.l D0, 0x00
00000C18 6002 bra +0x4 /* 00000C1C */
00000C1A 7008 moveq.l D0, 0x08
label00000C1C:
00000C1C 4CDF 0102 movem.l D1,A0, [A7]+
00000C20 2257 movea.l A1, [A7]
00000C22 2F09 move.l -[A7], A1
00000C24 22D8 move.l [A1]+, [A0]+
00000C26 22D8 move.l [A1]+, [A0]+
00000C28 3290 move.w [A1], [A0]
00000C2A 2041 movea.l A0, D1
00000C2C 3F00 move.w -[A7], D0
00000C2E A9EC syscall Pack5/Elems68K
00000C30 4ED0 jmp [A0]
fn00000C32:
00000C32 4E56 0000 link A6, 0
00000C36 2B7C 0000 1388 FAE4 move.l [A5 - 0x51C], 0x1388
00000C3E 422D FADF clr.b [A5 - 0x521]
00000C42 422D FADE clr.b [A5 - 0x522]
00000C46 7000 moveq.l D0, 0x00
00000C48 2B40 FAD8 move.l [A5 - 0x528], D0
00000C4C 7000 moveq.l D0, 0x00
00000C4E 2B40 FAD4 move.l [A5 - 0x52C], D0
00000C52 7000 moveq.l D0, 0x00
00000C54 2B40 FAC8 move.l [A5 - 0x538], D0
00000C58 7000 moveq.l D0, 0x00
00000C5A 2B40 FAC4 move.l [A5 - 0x53C], D0
00000C5E 1B7C 0001 FAC3 move.b [A5 - 0x53D], 0x1
00000C64 4E5E unlink A6
00000C66 4E75 rts
00000C68 A549 syscall HPurge, flags=5
00000C6A 4E49 trap 9
00000C6C 5448 addq.w A0, 2
00000C6E 4541 chk.w D2, D1
00000C70 0000 2F00 ori.b D0, 0x0
export_68: // at 00000C72 (misaligned)
00000C74 2F01 move.l -[A7], D1
00000C76 302F 0010 move.w D0, [A7 + 0x10]
00000C7A C1EF 000E muls.w D0, [A7 + 0xE]
00000C7E 322F 000C move.w D1, [A7 + 0xC]
00000C82 C3EF 0012 muls.w D1, [A7 + 0x12]
00000C86 D041 add.w D0, D1
00000C88 4840 swap.w D0
00000C8A 4240 clr.w D0
00000C8C 322F 0012 move.w D1, [A7 + 0x12]
00000C90 C2EF 000E mulu.w D1, [A7 + 0xE]
00000C94 D081 add.l D0, D1
00000C96 2F40 0010 move.l [A7 + 0x10], D0
00000C9A 221F move.l D1, [A7]+
00000C9C 201F move.l D0, [A7]+
00000C9E 2F57 0004 move.l [A7 + 0x4], [A7]
00000CA2 588F addq.l A7, 4
00000CA4 4E75 rts
export_69:
00000CA6 4E56 0000 link A6, 0
00000CAA 2F00 move.l -[A7], D0
00000CAC 2F01 move.l -[A7], D1
00000CAE 202F 0014 move.l D0, [A7 + 0x14]
00000CB2 222F 0010 move.l D1, [A7 + 0x10]
00000CB6 4EBA 003A jsr [PC + 0x3A /* 00000CF2 */]
00000CBA 2F41 0014 move.l [A7 + 0x14], D1
00000CBE 221F move.l D1, [A7]+
00000CC0 201F move.l D0, [A7]+
00000CC2 4E5E unlink A6
00000CC4 2F57 0004 move.l [A7 + 0x4], [A7]
00000CC8 588F addq.l A7, 4
00000CCA 4E75 rts
export_70:
00000CCC 4E56 0000 link A6, 0
00000CD0 2F00 move.l -[A7], D0
00000CD2 2F01 move.l -[A7], D1
00000CD4 202F 0014 move.l D0, [A7 + 0x14]
00000CD8 222F 0010 move.l D1, [A7 + 0x10]
00000CDC 4EBA 0014 jsr [PC + 0x14 /* 00000CF2 */]
00000CE0 2F40 0014 move.l [A7 + 0x14], D0
00000CE4 221F move.l D1, [A7]+
00000CE6 201F move.l D0, [A7]+
00000CE8 4E5E unlink A6
00000CEA 2F57 0004 move.l [A7 + 0x4], [A7]
00000CEE 588F addq.l A7, 4
00000CF0 4E75 rts
fn00000CF2:
00000CF2 48E7 3E00 movem.l -[A7], D2,D3,D4,D5,D6
00000CF6 2A00 move.l D5, D0
00000CF8 6A02 bpl +0x4 /* 00000CFC */
00000CFA 4480 neg.l D0
label00000CFC:
00000CFC 2C01 move.l D6, D1
00000CFE 6A02 bpl +0x4 /* 00000D02 */
00000D00 4481 neg.l D1
label00000D02:
00000D02 2401 move.l D2, D1
00000D04 4842 swap.w D2
00000D06 4A42 tst.w D2
00000D08 661C bne +0x1E /* 00000D26 */
00000D0A 3600 move.w D3, D0
00000D0C 4240 clr.w D0
00000D0E 4840 swap.w D0
00000D10 6704 beq +0x6 /* 00000D16 */
00000D12 80C1 divu.w D0, D1
00000D14 3400 move.w D2, D0
label00000D16:
00000D16 4842 swap.w D2
00000D18 3003 move.w D0, D3
00000D1A 80C1 divu.w D0, D1
00000D1C 3400 move.w D2, D0
00000D1E 2202 move.l D1, D2
00000D20 4240 clr.w D0
00000D22 4840 swap.w D0
00000D24 601C bra +0x1E /* 00000D42 */
label00000D26:
00000D26 2400 move.l D2, D0
00000D28 2601 move.l D3, D1
00000D2A 7000 moveq.l D0, 0x00
00000D2C 7200 moveq.l D1, 0x00
00000D2E 781F moveq.l D4, 0x1F
label00000D30:
00000D30 D482 add.l D2, D2
00000D32 D180 addx.l D0, D0
00000D34 D281 add.l D1, D1
00000D36 B083 cmp.l D0, D3
00000D38 6D04 blt +0x6 /* 00000D3E */
00000D3A 9083 sub.l D0, D3
00000D3C 5201 addq.b D1, 1
label00000D3E:
00000D3E 51CC FFF0 dbf D4, -0x12 /* 00000D30 */
label00000D42:
00000D42 4A85 tst.l D5
00000D44 6A02 bpl +0x4 /* 00000D48 */
00000D46 4480 neg.l D0
label00000D48:
00000D48 BB86 xor.l D6, D5
00000D4A 6A02 bpl +0x4 /* 00000D4E */
00000D4C 4481 neg.l D1
label00000D4E:
00000D4E 4CDF 007C movem.l D2,D3,D4,D5,D6, [A7]+
00000D52 4E75 rts
export_71:
00000D54 48E7 E0F0 movem.l -[A7], D0,D1,D2,A0,A1,A2,A3
00000D58 206F 0020 movea.l A0, [A7 + 0x20]
00000D5C 4240 clr.w D0
00000D5E 1018 move.b D0, [A0]+
00000D60 226F 0024 movea.l A1, [A7 + 0x24]
00000D64 4242 clr.w D2
00000D66 1419 move.b D2, [A1]+
00000D68 9042 sub.w D0, D2
00000D6A 6C04 bge +0x6 /* 00000D70 */
00000D6C 4241 clr.w D1
00000D6E 6020 bra +0x22 /* 00000D90 */
label00000D70:
00000D70 5342 subq.w D2, 1
label00000D72:
00000D72 2448 movea.l A2, A0
00000D74 2649 movea.l A3, A1
00000D76 3202 move.w D1, D2
label00000D78:
00000D78 B50B cmpm.b [A2]+, [A3]+
00000D7A 56C9 FFFC dbne D1, -0x6 /* 00000D78 */
00000D7E 670A beq +0xC /* 00000D8A */
00000D80 5288 addq.l A0, 1
00000D82 51C8 FFEE dbf D0, -0x14 /* 00000D72 */
00000D86 4241 clr.w D1
00000D88 6006 bra +0x8 /* 00000D90 */
label00000D8A:
00000D8A 2208 move.l D1, A0
00000D8C 92AF 0020 sub.l D1, [A7 + 0x20]
label00000D90:
00000D90 3F41 0026 move.w [A7 + 0x26], D1
00000D94 4CDF 0F07 movem.l D0,D1,D2,A0,A1,A2,A3, [A7]+
00000D98 2F57 0006 move.l [A7 + 0x6], [A7]
00000D9C 5C4F addq.w A7, 6
00000D9E 4E75 rts
export_72:
00000DA0 48E7 E0E0 movem.l -[A7], D0,D1,D2,A0,A1,A2
00000DA4 43EF 001C lea.l A1, [A7 + 0x1C]
00000DA8 3019 move.w D0, [A1]+
00000DAA 2059 movea.l A0, [A1]+
00000DAC 3400 move.w D2, D0
00000DAE D442 add.w D2, D2
00000DB0 D442 add.w D2, D2
00000DB2 D2C2 add.w A1, D2
00000DB4 4241 clr.w D1
00000DB6 5248 addq.w A0, 1
00000DB8 6020 bra +0x22 /* 00000DDA */
label00000DBA:
00000DBA 2461 movea.l A2, -[A1]
00000DBC 4242 clr.w D2
00000DBE 141A move.b D2, [A2]+
00000DC0 D242 add.w D1, D2
00000DC2 0C41 00FF cmpi.w D1, 0xFF
00000DC6 6F0E ble +0x10 /* 00000DD6 */
00000DC8 0441 00FF subi.w D1, 0xFF
00000DCC 9441 sub.w D2, D1
00000DCE 323C 00FF move.w D1, 0xFF
00000DD2 6002 bra +0x4 /* 00000DD6 */
label00000DD4:
00000DD4 10DA move.b [A0]+, [A2]+
label00000DD6:
00000DD6 51CA FFFC dbf D2, -0x6 /* 00000DD4 */
label00000DDA:
00000DDA 51C8 FFDE dbf D0, -0x24 /* 00000DBA */
00000DDE 2061 movea.l A0, -[A1]
00000DE0 1081 move.b [A0], D1
00000DE2 3021 move.w D0, -[A1]
00000DE4 2049 movea.l A0, A1
00000DE6 D040 add.w D0, D0
00000DE8 D040 add.w D0, D0
00000DEA D0C0 add.w A0, D0
00000DEC 5448 addq.w A0, 2
00000DEE 20A1 move.l [A0], -[A1]
00000DF0 2288 move.l [A1], A0
00000DF2 4CDF 0707 movem.l D0,D1,D2,A0,A1,A2, [A7]+
00000DF6 2E5F movea.l A7, [A7]+
00000DF8 4E75 rts
export_73:
00000DFA 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00000DFE 43EF 0018 lea.l A1, [A7 + 0x18]
00000E02 2059 movea.l A0, [A1]+
00000E04 3019 move.w D0, [A1]+
00000E06 6F36 ble +0x38 /* 00000E3E */
00000E08 0C40 00FF cmpi.w D0, 0xFF
00000E0C 6E30 bgt +0x32 /* 00000E3E */
00000E0E 3219 move.w D1, [A1]+
00000E10 6F2C ble +0x2E /* 00000E3E */
00000E12 0C41 00FF cmpi.w D1, 0xFF
00000E16 6E26 bgt +0x28 /* 00000E3E */
00000E18 5341 subq.w D1, 1
00000E1A 2251 movea.l A1, [A1]
00000E1C 4242 clr.w D2
00000E1E 1419 move.b D2, [A1]+
00000E20 9441 sub.w D2, D1
00000E22 9440 sub.w D2, D0
00000E24 6D18 blt +0x1A /* 00000E3E */
00000E26 D2C1 add.w A1, D1
00000E28 10C0 move.b [A0]+, D0
00000E2A 5340 subq.w D0, 1
label00000E2C:
00000E2C 10D9 move.b [A0]+, [A1]+
00000E2E 51C8 FFFC dbf D0, -0x6 /* 00000E2C */
label00000E32:
00000E32 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00000E36 2F5F 0008 move.l [A7 + 0x8], [A7]+
00000E3A 504F addq.w A7, 8
00000E3C 4E75 rts
label00000E3E:
00000E3E 4210 clr.b [A0]
00000E40 60F0 bra -0xE /* 00000E32 */
export_74:
00000E42 225F movea.l A1, [A7]+
00000E44 301F move.w D0, [A7]+
00000E46 321F move.w D1, [A7]+
00000E48 205F movea.l A0, [A7]+
00000E4A 6F0C ble +0xE /* 00000E58 */
00000E4C 4A40 tst.w D0
00000E4E 6F08 ble +0xA /* 00000E58 */
00000E50 4242 clr.w D2
00000E52 1410 move.b D2, [A0]
00000E54 B441 cmp.w D2, D1
00000E56 6C02 bge +0x4 /* 00000E5A */
label00000E58:
00000E58 4ED1 jmp [A1]
label00000E5A:
00000E5A 9441 sub.w D2, D1
00000E5C 9440 sub.w D2, D0
00000E5E 6C06 bge +0x8 /* 00000E66 */
00000E60 5341 subq.w D1, 1
00000E62 1081 move.b [A0], D1
00000E64 4ED1 jmp [A1]
label00000E66:
00000E66 2F09 move.l -[A7], A1
00000E68 9110 sub.b [A0], D0
00000E6A D0C1 add.w A0, D1
00000E6C 2248 movea.l A1, A0
00000E6E D2C0 add.w A1, D0
label00000E70:
00000E70 10D9 move.b [A0]+, [A1]+
00000E72 51CA FFFC dbf D2, -0x6 /* 00000E70 */
00000E76 4E75 rts
export_75:
00000E78 221F move.l D1, [A7]+
00000E7A 301F move.w D0, [A7]+
00000E7C 225F movea.l A1, [A7]+
00000E7E 205F movea.l A0, [A7]+
00000E80 5340 subq.w D0, 1
00000E82 6D08 blt +0xA /* 00000E8C */
00000E84 4242 clr.w D2
00000E86 1411 move.b D2, [A1]
00000E88 B440 cmp.w D2, D0
00000E8A 6C04 bge +0x6 /* 00000E90 */
label00000E8C:
00000E8C 2041 movea.l A0, D1
00000E8E 4ED0 jmp [A0]
label00000E90:
00000E90 2F01 move.l -[A7], D1
00000E92 2F0A move.l -[A7], A2
00000E94 3F03 move.w -[A7], D3
00000E96 4241 clr.w D1
00000E98 1218 move.b D1, [A0]+
00000E9A 3601 move.w D3, D1
00000E9C D642 add.w D3, D2
00000E9E 12C3 move.b [A1]+, D3
00000EA0 2449 movea.l A2, A1
00000EA2 D4C3 add.w A2, D3
00000EA4 D2C2 add.w A1, D2
00000EA6 9440 sub.w D2, D0
00000EA8 6002 bra +0x4 /* 00000EAC */
label00000EAA:
00000EAA 1521 move.b -[A2], -[A1]
label00000EAC:
00000EAC 51CA FFFC dbf D2, -0x6 /* 00000EAA */
00000EB0 6002 bra +0x4 /* 00000EB4 */
label00000EB2:
00000EB2 12D8 move.b [A1]+, [A0]+
label00000EB4:
00000EB4 51C9 FFFC dbf D1, -0x6 /* 00000EB2 */
00000EB8 361F move.w D3, [A7]+
00000EBA 245F movea.l A2, [A7]+
00000EBC 4E75 rts
export_76:
00000EBE 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
00000EC2 7201 moveq.l D1, 0x01
00000EC4 6006 bra +0x8 /* 00000ECC */
export_77:
00000EC6 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
00000ECA 4241 clr.w D1
label00000ECC:
00000ECC 206F 0018 movea.l A0, [A7 + 0x18]
00000ED0 226F 0014 movea.l A1, [A7 + 0x14]
00000ED4 4240 clr.w D0
00000ED6 1010 move.b D0, [A0]
label00000ED8:
00000ED8 B308 cmpm.b [A1]+, [A0]+
00000EDA 56C8 FFFC dbne D0, -0x6 /* 00000ED8 */
00000EDE 6604 bne +0x6 /* 00000EE4 */
00000EE0 0A41 0001 xori.w D1, 0x1
label00000EE4:
00000EE4 1F41 001A move.b [A7 + 0x1A], D1
00000EE8 2F6F 0010 0016 move.l [A7 + 0x16], [A7 + 0x10]
00000EEE 4CDF 0303 movem.l D0,D1,A0,A1, [A7]+
00000EF2 5C4F addq.w A7, 6
00000EF4 4E75 rts
export_78:
fn00000EF6:
00000EF6 4E56 FFF0 link A6, -0x0010
00000EFA 206E 0008 movea.l A0, [A6 + 0x8]
00000EFE 0C50 4EF9 cmpi.w [A0], 0x4EF9
00000F02 660E bne +0x10 /* 00000F12 */
00000F04 202E 0008 move.l D0, [A6 + 0x8]
00000F08 5580 subq.l D0, 2
00000F0A 2040 movea.l A0, D0
00000F0C 3D50 000C move.w [A6 + 0xC], [A0]
00000F10 601C bra +0x1E /* 00000F2E */
label00000F12:
00000F12 206E 0008 movea.l A0, [A6 + 0x8]
00000F16 0C50 3F3C cmpi.w [A0], 0x3F3C /* '?<' */
00000F1A 660E bne +0x10 /* 00000F2A */
00000F1C 202E 0008 move.l D0, [A6 + 0x8]
00000F20 5480 addq.l D0, 2
00000F22 2040 movea.l A0, D0
00000F24 3D50 000C move.w [A6 + 0xC], [A0]
00000F28 6004 bra +0x6 /* 00000F2E */
label00000F2A:
00000F2A 426E 000C clr.w [A6 + 0xC]
label00000F2E:
00000F2E 4E5E unlink A6
00000F30 2E9F move.l [A7], [A7]+
00000F32 4E75 rts
fn00000F34:
00000F34 4E56 FFFA link A6, -0x0006
00000F38 2F0C move.l -[A7], A4
00000F3A 42A7 clr.l -[A7]
00000F3C 2F3A 0048 move.l -[A7], [PC + 0x48 /* 00000F86, value 0x434F4445 'CODE', cstring "CODENV" */]
00000F40 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000F44 A9A0 syscall GetResource
00000F46 285F movea.l A4, [A7]+
00000F48 200C move.l D0, A4
00000F4A 6606 bne +0x8 /* 00000F52 */
00000F4C 422E 000A clr.b [A6 + 0xA]
00000F50 602A bra +0x2C /* 00000F7C */
label00000F52:
00000F52 1D7C 0001 000A move.b [A6 + 0xA], 0x1
00000F58 7000 moveq.l D0, 0x00
00000F5A 2F00 move.l -[A7], D0
00000F5C 4267 clr.w -[A7]
00000F5E 2F0C move.l -[A7], A4
00000F60 4EBA 01FC jsr [PC + 0x1FC /* 0000115E */]
00000F64 121F move.b D1, [A7]+
00000F66 201F move.l D0, [A7]+
00000F68 1001 move.b D0, D1
00000F6A 0800 0007 btst.b D0, 0x7
00000F6E 660C bne +0xE /* 00000F7C */
00000F70 2F0C move.l -[A7], A4
00000F72 4EBA F3BC jsr [PC - 0xC44 /* 00000330 */]
00000F76 2F0C move.l -[A7], A4
00000F78 4EBA F63A jsr [PC - 0x9C6 /* 000005B4 */]
label00000F7C:
00000F7C 285F movea.l A4, [A7]+
00000F7E 4E5E unlink A6
00000F80 205F movea.l A0, [A7]+
00000F82 544F addq.w A7, 2
00000F84 4ED0 jmp [A0]
00000F86 434F chk.w D1, A7
00000F88 4445 neg.w D5
export_79:
fn00000F8A:
00000F8A 4E56 0000 link A6, 0
00000F8E 2F07 move.l -[A7], D7
00000F90 3E2E 000A move.w D7, [A6 + 0xA]
00000F94 7001 moveq.l D0, 0x01
00000F96 B047 cmp.w D0, D7
00000F98 6C3C bge +0x3E /* 00000FD6 */
00000F9A 102E 0008 move.b D0, [A6 + 0x8]
00000F9E 671C beq +0x1E /* 00000FBC */
00000FA0 206D FAF2 movea.l A0, [A5 - 0x50E]
00000FA4 2050 movea.l A0, [A0]
00000FA6 3007 move.w D0, D7
00000FA8 E540 asl D0.w, 2
00000FAA 7200 moveq.l D1, 0x00
00000FAC 2181 00FC move.l [A0 + D0.w - 0x4], D1
00000FB0 4267 clr.w -[A7]
00000FB2 3F07 move.w -[A7], D7
00000FB4 4EBA FF7E jsr [PC - 0x82 /* 00000F34 */]
00000FB8 101F move.b D0, [A7]+
00000FBA 601A bra +0x1C /* 00000FD6 */
label00000FBC:
00000FBC 206D FAF6 movea.l A0, [A5 - 0x50A]
00000FC0 2050 movea.l A0, [A0]
00000FC2 3007 move.w D0, D7
00000FC4 E540 asl D0.w, 2
00000FC6 226D FAF2 movea.l A1, [A5 - 0x50E]
00000FCA 2251 movea.l A1, [A1]
00000FCC 3207 move.w D1, D7
00000FCE E541 asl D1.w, 2
00000FD0 23B0 00FC 10FC move.l [A1 + D1.w - 0x4], [A0 + D0.w - 0x4]
label00000FD6:
00000FD6 2E1F move.l D7, [A7]+
00000FD8 4E5E unlink A6
00000FDA 2E9F move.l [A7], [A7]+
00000FDC 4E75 rts
export_80:
fn00000FDE:
00000FDE 4E56 FFF2 link A6, -0x000E
00000FE2 48E7 0308 movem.l -[A7], D6,D7,A4
00000FE6 42A7 clr.l -[A7]
00000FE8 2E8D move.l [A7], A5
00000FEA 3038 0934 move.w D0, [0x00000934 /* CurJTOffset */]
00000FEE 48C0 ext.l D0
00000FF0 2C00 move.l D6, D0
00000FF2 DC9F add.l D6, [A7]+
00000FF4 42A7 clr.l -[A7]
00000FF6 2F2D FAF2 move.l -[A7], [A5 - 0x50E]
00000FFA 4EBA F576 jsr [PC - 0xA8A /* 00000572 */]
00000FFE 2E1F move.l D7, [A7]+
00001000 E48F lsr D7, 2
label00001002:
00001002 4A87 tst.l D7
00001004 6F28 ble +0x2A /* 0000102E */
00001006 206D FAF2 movea.l A0, [A5 - 0x50E]
0000100A 2050 movea.l A0, [A0]
0000100C 3007 move.w D0, D7
0000100E E540 asl D0.w, 2
00001010 2870 00FC movea.l A4, [A0 + D0.w - 0x4]
00001014 200C move.l D0, A4
00001016 6712 beq +0x14 /* 0000102A */
00001018 4A94 tst.l [A4]
0000101A 670E beq +0x10 /* 0000102A */
0000101C 2054 movea.l A0, [A4]
0000101E 3010 move.w D0, [A0]
00001020 48C0 ext.l D0
00001022 D086 add.l D0, D6
00001024 5480 addq.l D0, 2
00001026 2F00 move.l -[A7], D0
00001028 A9F1 syscall UnloadSeg
label0000102A:
0000102A 5387 subq.l D7, 1
0000102C 60D4 bra -0x2A /* 00001002 */
label0000102E:
0000102E 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00001032 4E5E unlink A6
00001034 4E75 rts
export_81:
00001036 4E56 FFF0 link A6, -0x0010
0000103A 48E7 0700 movem.l -[A7], D5,D6,D7
0000103E 2F0D move.l -[A7], A5
00001040 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
00001044 7E00 moveq.l D7, 0x00
00001046 102D FAE9 move.b D0, [A5 - 0x517]
0000104A 661C bne +0x1E /* 00001068 */
0000104C 4267 clr.w -[A7]
0000104E 2F2D FB10 move.l -[A7], [A5 - 0x4F0]
00001052 4EBA 0122 jsr [PC + 0x122 /* 00001176 */]
00001056 101F move.b D0, [A7]+
00001058 670E beq +0x10 /* 00001068 */
0000105A 2F2D FB10 move.l -[A7], [A5 - 0x4F0]
0000105E 4EBA F53E jsr [PC - 0xAC2 /* 0000059E */]
00001062 422D FAE8 clr.b [A5 - 0x518]
00001066 7E01 moveq.l D7, 0x01
label00001068:
00001068 4A87 tst.l D7
0000106A 6600 00C6 bne +0xC8 /* 00001132 */
0000106E 42A7 clr.l -[A7]
00001070 4267 clr.w -[A7]
00001072 486E FFF8 pea.l [A6 - 0x8]
00001076 4EAD 03FA jsr [A5 + 0x3FA /* export_123 */]
0000107A 2A1F move.l D5, [A7]+
0000107C 4267 clr.w -[A7]
0000107E 2F2D FB10 move.l -[A7], [A5 - 0x4F0]
00001082 4EBA 00F2 jsr [PC + 0xF2 /* 00001176 */]
00001086 101F move.b D0, [A7]+
00001088 6742 beq +0x44 /* 000010CC */
0000108A 42A7 clr.l -[A7]
0000108C 2F2D FB10 move.l -[A7], [A5 - 0x4F0]
00001090 4EBA F4E0 jsr [PC - 0xB20 /* 00000572 */]
00001094 2C1F move.l D6, [A7]+
00001096 2005 move.l D0, D5
00001098 D086 add.l D0, D6
0000109A 5080 addq.l D0, 8
0000109C B0AD FB18 cmp.l D0, [A5 - 0x4E8]
000010A0 6F2A ble +0x2C /* 000010CC */
000010A2 422D FAE8 clr.b [A5 - 0x518]
000010A6 2F06 move.l -[A7], D6
000010A8 1F3C 0001 move.b -[A7], 0x1
000010AC 4EAD 03B2 jsr [A5 + 0x3B2 /* export_114 */]
000010B0 206D FB10 movea.l A0, [A5 - 0x4F0]
000010B4 4A90 tst.l [A0]
000010B6 6604 bne +0x6 /* 000010BC */
000010B8 7E01 moveq.l D7, 0x01
000010BA 6010 bra +0x12 /* 000010CC */
label000010BC:
000010BC 42A7 clr.l -[A7]
000010BE 2F2D FB10 move.l -[A7], [A5 - 0x4F0]
000010C2 4EBA F4AE jsr [PC - 0xB52 /* 00000572 */]
000010C6 BC9F cmp.l D6, [A7]+
000010C8 6F02 ble +0x4 /* 000010CC */
000010CA 7E01 moveq.l D7, 0x01
label000010CC:
000010CC 4A87 tst.l D7
000010CE 6662 bne +0x64 /* 00001132 */
000010D0 4AAE FFF8 tst.l [A6 - 0x8]
000010D4 675C beq +0x5E /* 00001132 */
000010D6 102D FAE9 move.b D0, [A5 - 0x517]
000010DA 0A00 0001 xori.b D0, 0x1
000010DE 206D FB10 movea.l A0, [A5 - 0x4F0]
000010E2 4A90 tst.l [A0]
000010E4 57C1 seq D1
000010E6 8001 or.b D0, D1
000010E8 0240 0001 andi.w D0, 0x1
000010EC 6744 beq +0x46 /* 00001132 */
000010EE 4AAD FAFA tst.l [A5 - 0x506]
000010F2 670C beq +0xE /* 00001100 */
000010F4 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000010F8 2F2D FAFA move.l -[A7], [A5 - 0x506]
000010FC 205F movea.l A0, [A7]+
000010FE 4E90 jsr [A0]
label00001100:
00001100 42A7 clr.l -[A7]
00001102 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00001106 4EBA F46A jsr [PC - 0xB96 /* 00000572 */]
0000110A 2C1F move.l D6, [A7]+
0000110C 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00001110 4EBA F4B6 jsr [PC - 0xB4A /* 000005C8 */]
00001114 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00001118 4EBA F484 jsr [PC - 0xB7C /* 0000059E */]
0000111C 422D FAE8 clr.b [A5 - 0x518]
00001120 102D FAE9 move.b D0, [A5 - 0x517]
00001124 670A beq +0xC /* 00001130 */
00001126 2F06 move.l -[A7], D6
00001128 1F3C 0001 move.b -[A7], 0x1
0000112C 4EAD 03B2 jsr [A5 + 0x3B2 /* export_114 */]
label00001130:
00001130 7E01 moveq.l D7, 0x01
label00001132:
00001132 4A87 tst.l D7
00001134 6618 bne +0x1A /* 0000114E */
00001136 4267 clr.w -[A7]
00001138 2F2D FB0C move.l -[A7], [A5 - 0x4F4]
0000113C 4EBA 0038 jsr [PC + 0x38 /* 00001176 */]
00001140 101F move.b D0, [A7]+
00001142 670A beq +0xC /* 0000114E */
00001144 2F2D FB0C move.l -[A7], [A5 - 0x4F4]
00001148 4EBA F454 jsr [PC - 0xBAC /* 0000059E */]
0000114C 7E01 moveq.l D7, 0x01
label0000114E:
0000114E 2D47 000C move.l [A6 + 0xC], D7
00001152 2A5F movea.l A5, [A7]+
00001154 4CDF 00E0 movem.l D5,D6,D7, [A7]+
00001158 4E5E unlink A6
0000115A 2E9F move.l [A7], [A7]+
0000115C 4E75 rts
export_82:
fn0000115E:
0000115E 4E56 0000 link A6, 0
00001162 4267 clr.w -[A7]
00001164 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001168 4EBA F806 jsr [PC - 0x7FA /* 00000970 */]
0000116C 1D5F 000C move.b [A6 + 0xC], [A7]+
00001170 4E5E unlink A6
00001172 2E9F move.l [A7], [A7]+
00001174 4E75 rts
export_83:
fn00001176:
00001176 4E56 0000 link A6, 0
0000117A 206E 0008 movea.l A0, [A6 + 0x8]
0000117E 4A90 tst.l [A0]
00001180 6606 bne +0x8 /* 00001188 */
00001182 422E 000C clr.b [A6 + 0xC]
00001186 6028 bra +0x2A /* 000011B0 */
label00001188:
00001188 42A7 clr.l -[A7]
0000118A 2EB8 0330 move.l [A7], [0x00000330 /* GZMoveHnd */]
0000118E 202E 0008 move.l D0, [A6 + 0x8]
00001192 B09F cmp.l D0, [A7]+
00001194 56C0 sne D0
00001196 2F00 move.l -[A7], D0
00001198 42A7 clr.l -[A7]
0000119A 2EB8 0328 move.l [A7], [0x00000328 /* GZRootHnd */]
0000119E 221F move.l D1, [A7]+
000011A0 201F move.l D0, [A7]+
000011A2 B2AE 0008 cmp.l D1, [A6 + 0x8]
000011A6 56C1 sne D1
000011A8 C001 and.b D0, D1
000011AA 4400 neg.b D0
000011AC 1D40 000C move.b [A6 + 0xC], D0
label000011B0:
000011B0 4E5E unlink A6
000011B2 2E9F move.l [A7], [A7]+
000011B4 4E75 rts
export_84:
000011B6 4E56 0000 link A6, 0
000011BA 202E 000C move.l D0, [A6 + 0xC]
000011BE B0AE 0008 cmp.l D0, [A6 + 0x8]
000011C2 6C08 bge +0xA /* 000011CC */
000011C4 2D6E 0008 0010 move.l [A6 + 0x10], [A6 + 0x8]
000011CA 6006 bra +0x8 /* 000011D2 */
label000011CC:
000011CC 2D6E 000C 0010 move.l [A6 + 0x10], [A6 + 0xC]
label000011D2:
000011D2 4E5E unlink A6
000011D4 205F movea.l A0, [A7]+
000011D6 504F addq.w A7, 8
000011D8 4ED0 jmp [A0]
export_85:
000011DA 4E56 0000 link A6, 0
000011DE 202E 000C move.l D0, [A6 + 0xC]
000011E2 B0AE 0008 cmp.l D0, [A6 + 0x8]
000011E6 6C08 bge +0xA /* 000011F0 */
000011E8 2D6E 000C 0010 move.l [A6 + 0x10], [A6 + 0xC]
000011EE 6006 bra +0x8 /* 000011F6 */
label000011F0:
000011F0 2D6E 0008 0010 move.l [A6 + 0x10], [A6 + 0x8]
label000011F6:
000011F6 4E5E unlink A6
000011F8 205F movea.l A0, [A7]+
000011FA 504F addq.w A7, 8
000011FC 4ED0 jmp [A0]
export_86:
000011FE 201F move.l D0, [A7]+
00001200 2257 movea.l A1, [A7]
00001202 206F 0004 movea.l A0, [A7 + 0x4]
00001206 3221 move.w D1, -[A1]
00001208 2408 move.l D2, A0
0000120A 6730 beq +0x32 /* 0000123C */
0000120C 2050 movea.l A0, [A0]
0000120E 3410 move.w D2, [A0]
label00001210:
00001210 2075 2000 movea.l A0, [A5 + D2.w]
00001214 2248 movea.l A1, A0
00001216 3428 0006 move.w D2, [A0 + 0x6]
0000121A 6716 beq +0x18 /* 00001232 */
0000121C 5342 subq.w D2, 1
0000121E 5888 addq.l A0, 4
label00001220:
00001220 5888 addq.l A0, 4
00001222 B250 cmp.w D1, [A0]
00001224 57CA FFFA dbeq D2, -0x8 /* 00001220 */
00001228 6608 bne +0xA /* 00001232 */
0000122A 3428 0002 move.w D2, [A0 + 0x2]
0000122E 4EF5 2000 jmp [A5 + D2.w]
label00001232:
00001232 3429 0002 move.w D2, [A1 + 0x2]
00001236 6704 beq +0x6 /* 0000123C */
00001238 5482 addq.l D2, 2
0000123A 60D4 bra -0x2A /* 00001210 */
label0000123C:
0000123C 81FC 0000 divs.w D0, 0x0
export_87:
00001240 225F movea.l A1, [A7]+
00001242 201F move.l D0, [A7]+
00001244 205F movea.l A0, [A7]+
00001246 908D sub.l D0, A5
00001248 2050 movea.l A0, [A0]
0000124A 3080 move.w [A0], D0
0000124C 4ED1 jmp [A1]
export_88:
0000124E 48E7 000C movem.l -[A7], A4,A5
00001252 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
00001256 2848 movea.l A4, A0
00001258 396C FFB6 000A move.w [A4 + 0xA], [A4 - 0x4A]
0000125E 4A38 08CD tst.b [0x000008CD /* CrsrBusy */]
00001262 6616 bne +0x18 /* 0000127A */
00001264 102C FFB8 move.b D0, [A4 - 0x48]
00001268 C02C FFB9 and.b D0, [A4 - 0x47]
0000126C 670C beq +0xE /* 0000127A */
0000126E 102C FFBA move.b D0, [A4 - 0x46]
00001272 6606 bne +0x8 /* 0000127A */
00001274 486C FFBC pea.l [A4 - 0x44]
00001278 A851 syscall SetCursor
label0000127A:
0000127A 4CDF 3000 movem.l A4,A5, [A7]+
0000127E 4E75 rts
export_89:
00001280 205F movea.l A0, [A7]+
00001282 2EB8 0A1C move.l [A7], [0x00000A1C /* MenuList */]
00001286 4ED0 jmp [A0]
export_90:
00001288 2238 016A move.l D1, [0x0000016A /* Ticks */]
0000128C 4841 swap.w D1
0000128E 2038 020C move.l D0, [0x0000020C /* Time */]
00001292 B380 xor.l D0, D1
00001294 2F40 0004 move.l [A7 + 0x4], D0
00001298 4E75 rts
export_91:
0000129A 4E56 0000 link A6, 0
0000129E 422D FBB9 clr.b [A5 - 0x447]
label000012A2:
000012A2 4A2D FBB9 tst.b [A5 - 0x447]
000012A6 6604 bne +0x6 /* 000012AC */
000012A8 4EBA FD34 jsr [PC - 0x2CC /* 00000FDE */]
label000012AC:
000012AC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000012B0 4EAD 1C02 jsr [A5 + 0x1C02 /* export_892 */]
000012B4 102D FF29 move.b D0, [A5 - 0xD7]
000012B8 67E8 beq -0x16 /* 000012A2 */
000012BA 4E5E unlink A6
000012BC 2E9F move.l [A7], [A7]+
000012BE 4E75 rts
export_92:
000012C0 4E56 FFFE link A6, -0x0002
000012C4 48E7 0108 movem.l -[A7], D7,A4
000012C8 286E 0008 movea.l A4, [A6 + 0x8]
000012CC 4EBA FD10 jsr [PC - 0x2F0 /* 00000FDE */]
000012D0 4EAD 03CA jsr [A5 + 0x3CA /* export_117 */]
000012D4 1B7C 0001 FDC3 move.b [A5 - 0x23D], 0x1
000012DA 42A7 clr.l -[A7]
000012DC 4EAD 04CA jsr [A5 + 0x4CA /* export_149 */]
000012E0 102D FDD9 move.b D0, [A5 - 0x227]
000012E4 6606 bne +0x8 /* 000012EC */
000012E6 2F0C move.l -[A7], A4
000012E8 4EAD 1D3A jsr [A5 + 0x1D3A /* export_931 */]
label000012EC:
000012EC 4EBA FCF0 jsr [PC - 0x310 /* 00000FDE */]
000012F0 4267 clr.w -[A7]
000012F2 486D 0F6A pea.l [A5 + 0xF6A /* export_489 */]
000012F6 4EBA FBFE jsr [PC - 0x402 /* 00000EF6 */]
000012FA 3E1F move.w D7, [A7]+
000012FC 102D FDD9 move.b D0, [A5 - 0x227]
00001300 670A beq +0xC /* 0000130C */
00001302 3F07 move.w -[A7], D7
00001304 1F3C 0001 move.b -[A7], 0x1
00001308 4EBA FC80 jsr [PC - 0x380 /* 00000F8A */]
label0000130C:
0000130C 2F0C move.l -[A7], A4
0000130E 4EAD 1C22 jsr [A5 + 0x1C22 /* export_896 */]
00001312 102D FDD9 move.b D0, [A5 - 0x227]
00001316 6708 beq +0xA /* 00001320 */
00001318 3F07 move.w -[A7], D7
0000131A 4267 clr.w -[A7]
0000131C 4EBA FC6C jsr [PC - 0x394 /* 00000F8A */]
label00001320:
00001320 4EBA FCBC jsr [PC - 0x344 /* 00000FDE */]
00001324 102D FDD9 move.b D0, [A5 - 0x227]
00001328 661C bne +0x1E /* 00001346 */
0000132A 1B7C 0001 FD78 move.b [A5 - 0x288], 0x1
00001330 2F0C move.l -[A7], A4
00001332 4EAD 1CE2 jsr [A5 + 0x1CE2 /* export_920 */]
00001336 2F0C move.l -[A7], A4
00001338 4EAD 1BEA jsr [A5 + 0x1BEA /* export_889 */]
0000133C 1F3C 0001 move.b -[A7], 0x1
00001340 2F0C move.l -[A7], A4
00001342 4EAD 1D22 jsr [A5 + 0x1D22 /* export_928 */]
label00001346:
00001346 4EAD 0532 jsr [A5 + 0x532 /* export_162 */]
0000134A 4CDF 1080 movem.l D7,A4, [A7]+
0000134E 4E5E unlink A6
00001350 2E9F move.l [A7], [A7]+
00001352 4E75 rts
export_93:
00001354 4E56 FFFC link A6, -0x0004
00001358 2F07 move.l -[A7], D7
0000135A 4EBA FC82 jsr [PC - 0x37E /* 00000FDE */]
0000135E 4AAD FD9E tst.l [A5 - 0x262]
00001362 6F1E ble +0x20 /* 00001382 */
00001364 42A7 clr.l -[A7]
00001366 A975 syscall TickCount
00001368 2E1F move.l D7, [A7]+
0000136A BEAD FB34 cmp.l D7, [A5 - 0x4CC]
0000136E 6F12 ble +0x14 /* 00001382 */
00001370 3F3C 0073 move.w -[A7], 0x73 /* 's' */
00001374 4EAD 0432 jsr [A5 + 0x432 /* export_130 */]
00001378 202D FD9E move.l D0, [A5 - 0x262]
0000137C D087 add.l D0, D7
0000137E 2B40 FB34 move.l [A5 - 0x4CC], D0
label00001382:
00001382 2E1F move.l D7, [A7]+
00001384 4E5E unlink A6
00001386 2E9F move.l [A7], [A7]+
00001388 4E75 rts
fn0000138A:
0000138A 4E56 0000 link A6, 0
0000138E 102D FC42 move.b D0, [A5 - 0x3BE]
00001392 6710 beq +0x12 /* 000013A4 */
00001394 102D FC43 move.b D0, [A5 - 0x3BD]
00001398 670A beq +0xC /* 000013A4 */
0000139A 422D FC44 clr.b [A5 - 0x3BC]
0000139E 3B6D FC40 FC94 move.w [A5 - 0x36C], [A5 - 0x3C0]
label000013A4:
000013A4 4E5E unlink A6
000013A6 4E75 rts
export_94:
000013A8 4E56 0000 link A6, 0
000013AC 486D F9B2 pea.l [A5 - 0x64E]
000013B0 4EBA 0128 jsr [PC + 0x128 /* 000014DA */]
000013B4 4E5E unlink A6
000013B6 4E75 rts
fn000013B8:
000013B8 4E56 FEE6 link A6, -0x011A
000013BC 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000013C0 486E FEF0 pea.l [A6 - 0x110]
000013C4 486E FEEC pea.l [A6 - 0x114]
000013C8 4EAD 04EA jsr [A5 + 0x4EA /* export_153 */]
000013CC 4EBA FC10 jsr [PC - 0x3F0 /* 00000FDE */]
000013D0 2F2E FEF0 move.l -[A7], [A6 - 0x110]
000013D4 2F2E FEEC move.l -[A7], [A6 - 0x114]
000013D8 4EAD 03EA jsr [A5 + 0x3EA /* export_121 */]
000013DC 102D FB0B move.b D0, [A5 - 0x4F5]
000013E0 660A bne +0xC /* 000013EC */
000013E2 3F3C FF94 move.w -[A7], 0xFF94
000013E6 42A7 clr.l -[A7]
000013E8 4EAD 04E2 jsr [A5 + 0x4E2 /* export_152 */]
label000013EC:
000013EC 4EBA FBF0 jsr [PC - 0x410 /* 00000FDE */]
000013F0 4267 clr.w -[A7]
000013F2 486D 06CA pea.l [A5 + 0x6CA /* export_213 */]
000013F6 4EBA FAFE jsr [PC - 0x502 /* 00000EF6 */]
000013FA 1F3C 0001 move.b -[A7], 0x1
000013FE 4EBA FB8A jsr [PC - 0x476 /* 00000F8A */]
00001402 4267 clr.w -[A7]
00001404 486D 03AA pea.l [A5 + 0x3AA /* export_113 */]
00001408 4EBA FAEC jsr [PC - 0x514 /* 00000EF6 */]
0000140C 1F3C 0001 move.b -[A7], 0x1
00001410 4EBA FB78 jsr [PC - 0x488 /* 00000F8A */]
00001414 4267 clr.w -[A7]
00001416 486D 28FA pea.l [A5 + 0x28FA /* export_1307 */]
0000141A 4EBA FADA jsr [PC - 0x526 /* 00000EF6 */]
0000141E 1F3C 0001 move.b -[A7], 0x1
00001422 4EBA FB66 jsr [PC - 0x49A /* 00000F8A */]
00001426 4EAD 28FA jsr [A5 + 0x28FA /* export_1307 */]
0000142A 42A7 clr.l -[A7]
0000142C 2F3A 0086 move.l -[A7], [PC + 0x86 /* 000014B4, value 0x434F4445 'CODE', cstring "CODENV" */]
00001430 487A 0076 pea.l [PC + 0x76 /* 000014A8, value 0xA255F53 '\n%_S', pstring "%_SelProcs" */]
00001434 A9A1 syscall GetNamedResource
00001436 265F movea.l A3, [A7]+
00001438 200B move.l D0, A3
0000143A 671C beq +0x1E /* 00001458 */
0000143C 2F0B move.l -[A7], A3
0000143E 486E FFFA pea.l [A6 - 0x6]
00001442 486E FFF6 pea.l [A6 - 0xA]
00001446 486E FEF6 pea.l [A6 - 0x10A]
0000144A A9A8 syscall GetResInfo
0000144C 3F2E FFFA move.w -[A7], [A6 - 0x6]
00001450 1F3C 0001 move.b -[A7], 0x1
00001454 4EBA FB34 jsr [PC - 0x4CC /* 00000F8A */]
label00001458:
00001458 4267 clr.w -[A7]
0000145A 486D 04F2 pea.l [A5 + 0x4F2 /* export_154 */]
0000145E 4EBA FA96 jsr [PC - 0x56A /* 00000EF6 */]
00001462 3E1F move.w D7, [A7]+
00001464 3F07 move.w -[A7], D7
00001466 1F3C 0001 move.b -[A7], 0x1
0000146A 4EBA FB1E jsr [PC - 0x4E2 /* 00000F8A */]
0000146E 42A7 clr.l -[A7]
00001470 2EB8 02AA move.l [A7], [0x000002AA /* ApplZone */]
00001474 285F movea.l A4, [A7]+
00001476 3C2C 0014 move.w D6, [A4 + 0x14]
0000147A 3006 move.w D0, D6
0000147C C1EE 0008 muls.w D0, [A6 + 0x8]
00001480 3940 0014 move.w [A4 + 0x14], D0
00001484 4EBA F156 jsr [PC - 0xEAA /* 000005DC */]
00001488 3946 0014 move.w [A4 + 0x14], D6
0000148C 4EAD 04F2 jsr [A5 + 0x4F2 /* export_154 */]
00001490 3F07 move.w -[A7], D7
00001492 4267 clr.w -[A7]
00001494 4EBA FAF4 jsr [PC - 0x50C /* 00000F8A */]
00001498 4EBA FB44 jsr [PC - 0x4BC /* 00000FDE */]
0000149C 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
000014A0 4E5E unlink A6
000014A2 205F movea.l A0, [A7]+
000014A4 544F addq.w A7, 2
000014A6 4ED0 jmp [A0]
000014A8 0A25 5F53 xori.b -[A5], 0x53 /* 'S' */
000014AC 656C bcs +0x6E /* 0000151A */
000014AE 5072 6F63 7300 434F 4445 addq.w [[A2 + 0x7300] + 0x434F4445], 8
export_95:
000014B8 4E56 0000 link A6, 0
000014BC 2F0D move.l -[A7], A5
000014BE 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
000014C2 4EBA FEC6 jsr [PC - 0x13A /* 0000138A */]
000014C6 1B7C 0001 FBF6 move.b [A5 - 0x40A], 0x1
000014CC 2B6E 0008 FC3C move.l [A5 - 0x3C4], [A6 + 0x8]
000014D2 2A5F movea.l A5, [A7]+
000014D4 4E5E unlink A6
000014D6 2E9F move.l [A7], [A7]+
000014D8 4E75 rts
export_96:
fn000014DA:
000014DA 4E56 0000 link A6, 0
000014DE 2F0D move.l -[A7], A5
000014E0 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
000014E4 4EBA FEA4 jsr [PC - 0x15C /* 0000138A */]
000014E8 41ED FC46 lea.l A0, [A5 - 0x3BA]
000014EC B1EE 0008 cmpa.l A0, [A6 + 0x8]
000014F0 6716 beq +0x18 /* 00001508 */
000014F2 422D FBF6 clr.b [A5 - 0x40A]
000014F6 206E 0008 movea.l A0, [A6 + 0x8]
000014FA 43ED FBF8 lea.l A1, [A5 - 0x408]
000014FE 7010 moveq.l D0, 0x10
label00001500:
00001500 22D8 move.l [A1]+, [A0]+
00001502 51C8 FFFC dbf D0, -0x6 /* 00001500 */
00001506 6006 bra +0x8 /* 0000150E */
label00001508:
00001508 1B7C 0001 FC44 move.b [A5 - 0x3BC], 0x1
label0000150E:
0000150E 2A5F movea.l A5, [A7]+
00001510 4E5E unlink A6
00001512 2E9F move.l [A7], [A7]+
00001514 4E75 rts
export_97:
fn00001516:
00001516 4E56 0000 link A6, 0
label0000151A:
0000151A 4EAD 0502 jsr [A5 + 0x502 /* export_156 */]
0000151E 4EBA FABE jsr [PC - 0x542 /* 00000FDE */]
00001522 4E5E unlink A6
00001524 4E75 rts
fn00001526:
00001526 4E56 0000 link A6, 0
0000152A 7000 moveq.l D0, 0x00
0000152C 2B40 FF74 move.l [A5 - 0x8C], D0
00001530 4E5E unlink A6
00001532 4E75 rts
export_98:
00001534 2F02 move.l -[A7], D2
00001536 4227 clr.b -[A7]
00001538 4EAD 0DC2 jsr [A5 + 0xDC2 /* export_436 */]
0000153C 4A1F tst.b [A7]+
0000153E 4CDF 0004 movem.l D2, [A7]+
00001542 4E75 rts
export_0:
00001544 4EBA F54E jsr [PC - 0xAB2 /* 00000A94 */]
00001548 4E56 0000 link A6, 0
0000154C 2C5F movea.l A6, [A7]+
0000154E 4EBA F546 jsr [PC - 0xABA /* 00000A96 */]
00001552 4EAD 04C2 jsr [A5 + 0x4C2 /* export_148 */]
00001556 3F3C 0008 move.w -[A7], 0x8
0000155A 4EBA FE5C jsr [PC - 0x1A4 /* 000013B8 */]
0000155E 4EBA FFB6 jsr [PC - 0x4A /* 00001516 */]
00001562 4EBA FFC2 jsr [PC - 0x3E /* 00001526 */]
00001566 4267 clr.w -[A7]
00001568 486D 2FF2 pea.l [A5 + 0x2FF2 /* export_1530 */]
0000156C 4EBA F988 jsr [PC - 0x678 /* 00000EF6 */]
00001570 1F3C 0001 move.b -[A7], 0x1
00001574 4EBA FA14 jsr [PC - 0x5EC /* 00000F8A */]
00001578 486D FFFC pea.l [A5 - 0x4]
0000157C 486D 2AE4 pea.l [A5 + 0x2AE4]
00001580 3F3C 0008 move.w -[A7], 0x8
00001584 4EAD 033A jsr [A5 + 0x33A /* export_99 */]
00001588 2F2D FFFC move.l -[A7], [A5 - 0x4]
0000158C 4EAD 265A jsr [A5 + 0x265A /* export_1223 */]
00001590 2F2D FFFC move.l -[A7], [A5 - 0x4]
00001594 4EAD 1C0A jsr [A5 + 0x1C0A /* export_893 */]
00001598 4EBA F520 jsr [PC - 0xAE0 /* 00000ABA */]
0000159C 4EBA F522 jsr [PC - 0xADE /* 00000AC0 */]
000015A0 4E75 rts
000015A2 4E5E unlink A6
000015A4 4E75 rts